About CallRecording API Endpoint
The CallRecording API Endpoint is a shortcut for those that are just looking to quickly and easily download a recorded conversation produced by the Flex UC Call Recording App. By simply providing it the SIP Call ID, or the CDR ID of a call the endpoint will then provide you the file to download for playback or storage.
Fetch a Call Recording Media using CDR_ID
GET /v2/accounts/{ACCOUNT_ID}/callrecording/{details}
curl -v -X GET \
-H "X-Auth-Token: {AUTH_TOKEN}" \
http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/callrecording/{CDR_ID}
You are able to use both a SIP Call ID or a CDR ID to pull a recording. A CDR ID is the SIP Call ID prepended with the Year and Two Digit Month followed by a dash, ie: 201906-
We allow for both in the same call to help make extracting recording easier using data provided by many different sources. For example, if you are receiving call data from a WebHook its possible you will only have the SIP Call ID provided in the channel variables. Thus you can use that data as the details to get a recording.
Fetch a Call Recording Media using SIP_CALL_ID
GET /v2/accounts/{ACCOUNT_ID}/callrecording/{details}
curl -v -X GET \
-H "X-Auth-Token: {AUTH_TOKEN}" \
http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/callrecording/{SIP_CALL_ID}