Download VoiceMail/Recorded File
Each API request in TeleCMI platform includes App id and secret. Get your App id and secret in CHUB dashboard. After getting the app id and secret, make a GET request to the below base URL to download the voicemail or recorded call.
Base URL
Send your GET method request with valid parameters, to the following base URL.
https://piopiy.telecmi.com/v1/play?appid=1111113&token=xx-xx&file=demo_1111113.wav
Required Parameters
These are the required GET method parameters with description
Parameter Name | Type | Description |
---|---|---|
*appid | number | Your chub app ID |
*token | string | Your chub app secret |
*file | string | The file name of the voicemail or recorded call |
Note
The * marked parameter is mandatory.
If the provided information is valid, your web server will get a response from TeleCMI platform and you can able to stream the audio file.
HTTP status codes
TeleCMI API platform represents the following status code to identity the errors.
Status code | Status code | Description |
---|---|---|
200 | OK | We received the request |
404 | Error | Invalid app id or secret, authentication failed |