This resource is used to handle call recordings for outbound calls.
GET
Mandatory parameters
None.
Optional parameters
| Name | Type | Description |
|---|---|---|
| recording_id | string | Kaisa's unique ID for recording. |
| customer_id | int |
Kaisa's unique ID for customer. |
| cdr_id | int |
Kaisa's unique ID for a call. |
| *secure_url | int |
Return secure_url. 1= true |
* Secure_url can only be used together with recording_id or cdr_id
Output
| Name | Type | Description |
|---|---|---|
| recording_id | string | Kaisa's unique ID for recording. |
| customer_id | int | Kaisa's unique ID for customer. |
| cdr_id | int | Kaisa's unique ID for cdr. |
| expired | int | Call recording has expired, 1=true, 0=false. |
| *sounddata | blob | Sound data in mp3 format, base64 encoded. |
| **secure_url | string | URL to the specific recording for download. *** |
* Only outputted if recording_id is specified and will not be included if secure_url is set.
** secure_url will only be added if recording_id is set and secure_url is set.
*** The URL will only be valid for 60 seconds.
POST
Not supported.
PUT
Not supported.
DELETE
Mandatory parameters
| Name | Type | Description |
|---|---|---|
| customer_id | int | Kaisa's unique ID for customer. |
| recording_id | int | Id for the recording |
What will happen?
It will delete the recorded call audio and the visualisation data.
Comments
0 comments
Please sign in to leave a comment.