Call Recordings API

About Call Recordings API

Recordings endpoint provides a way to access call recordings.

Fetch recordings on an Account

GET /v2/accounts/{ACCOUNT_ID}/recordings

Lists the call recording with pagination and filtering.

curl -v -X GET \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/recordings

Fetch Recordings for a user

GET /v2/accounts/{ACCOUNT_ID}/users/{USER_ID}/recordings

curl -v -X GET \ -H "X-Auth-Token: {AUTH_TOKEN}" \ 
http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/recordings/{USER_ID}

Fetch recording media or document

GET /v2/accounts/{ACCOUNT_ID}/recordings/{RECORDING_ID}

Gets a specific recording document.

curl -v -X GET \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/recordings/{RECORDING_ID}

Gets a specific recording document attachment if available. Mind the Accept header in example below. For clients that do not support setting the Accept header, a query string parameter can be included: ?accept=audio/mpeg.

Optional parameter inline can be either true or false.

curl -v -X GET \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    -H "Accept: audio/mpeg" \
    http://{SERVER}:{PORT}/v2/accounts/{ACCOUNT_ID}/recordings/{RECORDING_ID}
Updated on February 15, 2023

Was this article helpful?

Related Articles