{"data":"UklGRiSMAAB --- ЗДЕСЬ МНОГО СТРОК ----AAAA==","mime":"WAV","sampling_rate":8000}
curl_setopt($ch, CURLOPT_FILE, @fopen('aaaaa.wav', 'w'));
// предварительно распарсить json:
// $json = json_decode($response, true);
file_put_contents("file.wav", $json["data"]);