Download Voice IVR Recorded File.
This method allows you to download Voice IVR Recorded Audio File. The returned audio data is encoded as PCM 16bit 8kHz WAVE audio. The files are available on Infobip servers for 2 months.
Please log in to see full path URL. Learn why.
get
/voice/ivr/1/files/{id}
Authorizations:
path Parameters
id required | string File ID to download. |
Responses
200
successful response
401
Unauthorized
403
Forbidden
404
Not Found
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/voice/ivr/1/files/{id}' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 401
- 403
- 404
- 500
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "UNAUTHORIZED",
- "text": "Unauthorized"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See