Download VoiceMail/Recorded File
Each API request in TeleCMI platform includes App id and secret. Get your App id and secret in TeleCMI 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://rest.telecmi.com/v2/play?appid=1111113&secret=xx-xx&file=demo_1111113.wav
Required Parameters
These are the required GET method parameters with description
Parameter Name | Type | Description |
---|---|---|
appid | number | Your app ID |
secret | string | Your app secret |
file | string | The file name of the voicemail or recorded call |
Note
All the above parameters are 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 type | Description |
---|---|---|
200 | OK | We received the request |
407 | Error | Invalid user token, authentication failed |
404 | Error | Parameter missing |