Download Recorded File
Each API request in PIOPIY platform includes app id and app secret. Get your App id and secret in PIOPIY dashboard. After getting the app id and secret, make a GET request to the below base URL to download the recorded call.
Base URL
Send your GET method request with valid parameters, to the following base URL.
https://piopiy.telecmi.com/v1/piopiy/play?appid=1111113&token=xxxx-xxxx&file=file_name.mp3
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 | number | The file name of the recorded call |
Note
The * marked property is mandatory.
If the provided information is valid, your web server will get a response from PIOPIY platform and you can able to stream the audio file.
HTTP status codes
PIOPIY 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, failed to authenticate token |