Account
SMS
Voice
Number
Call Center
https://api.itniotech.com/voice/getVoiceFile
Parameters | Description | Required | Type |
---|---|---|---|
voiceFileId | The recording URL (voiceUrl) returned by the query interface | Yes | String |
Request URL: https://api.itniotech.com/voice/getVoiceFile?voiceFileId=xxx Request Method: GET Request Headers: Content-Type: application/json;charset=UTF-8 Sign: 05d7a50893e22a5c4bb3216ae3396c7c Timestamp: 1630468800 Api-Key: bDqJFiq9
Parameters | Description | Type |
---|---|---|
response | The file stream is copied to the output stream of the HTTP response. If it fails, a String is returned. | String |
Successful examples: HTTP/1.1 200 OK Content-Disposition: attachment; filename="example.mp3" Content-Type: audio/mpeg Content-Length: 123456 (binary data) Failure example: HTTP/1.1 500 Internal Server Error Content-Type: text/plain; charset=UTF-8 Failed to download the file template.
Feedback
Was this page helpful?