Calls

Get call recording

GET /cdr/api/v2/files/(uuid)?file_name=(file_name)

Example request:

GET /cdr/api/v2/files/e391399f-7424-4eb3-9eef-2b884868b372?file_name=recordSession.mp3 HTTP/1.1
X-Access-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NDIwMDIxNzkzNTh9.pKXWfzXqbp8FMbOKocNaSlT1bYq4Xqzol-0kEXOY0_s
X-Key: 8fd26a17-eb28-4c74-aa6f-a3794f4f466c

Example response:

HTTP/1.1 200 OK
Parameters:
  • uuid (string) – The uuid of the call
  • file_name (string) – The new file name
Request Headers:
 
Status Codes:

CURL example:

curl -XGET -H 'X-Access-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NDIxNzA0NDk2NTB9.WqTx_dpbuTyp-l8w6rmQhzoatI-qPRkoM-hmxXTAzaU' -H 'X-Key: bed5ea60-84e7-4eba-b6ad-e3a23f220be1' "https://cloud.webitel.com/cdr/api/v2/e391399f-7424-4eb3-9eef-2b884868b372?file_name=recordSession.mp3"