CC Recording File Stream

GET

https://api.laaffic.com/v3/voice/getVoiceFile

CC recording file stream.
 
Request Parameters
Parameters Description Required Type
voiceFileId The recording URL (voiceUrl) returned by the query interface Yes String
 
Request Sample
Request URL: 
  https://api.laaffic.com/v3/voice/getVoiceFile?voiceFileId=xxx
Request Method: 
  GET
Request Headers:
  Content-Type: application/json;charset=UTF-8
  Sign: 05d7a50893e22a5c4bb3216ae3396c7c
  Timestamp: 1630468800
  Api-Key: bDqJFiq9
 
Response Parameters
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
 
Push Sample
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.

Telegram
WhatsApp
Chat with us!

Need help?

Click here and start chatting with us!