Skip to content

Download Audio File

Request

Download the audio file associated with a call, formatted as an mp3. If there is no recording associated with a call, the response code will be 404.

Security
HTTP_BASIC or sessionToken
Query
account_idstringrequired

Provided by AVANSER. Required only for token-based authentication.

Example:account_id=example.user
tokenstringrequired

Token received from Phase 2 of Authentication. Required only for token-based authentication.

Example:token=bzNDGPOMUu4pmGZZ0yyzvTlQZZNPnQPP
call_idstringrequired

AVANSER unique call identification.

Examples:
audio
call_id=34560626
analysis
call_id=123456789
curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.avanser.com/JSON?action=getAudio?account_id=example.user&token=bzNDGPOMUu4pmGZZ0yyzvTlQZZNPnQPP&call_id=34560626'

Responses

(mp3 audio file content)

Bodyaudio/mpeg
string, (binary)
Response
(mp3 audio file content)