Get Recording
/org/{tenant}/v2/contacts/recordings/{unique_id}
Platform support: MT and CC
Token Cost: 1 token (low)
Resolve the call's linkedid via CDR, then verify the caller has permission to view at least one of the contacts the call's activity is attributed to, then stream the recording back from file_sharing_service.
Request
Responses
- 200
- 206
- 400
- 401
- 403
- 404
- 500
Full recording, served as an attachment.
Response Headers
attachment; filename="...", named from the tenant's recording name template.
Partial content, returned when a Range header was sent.
Response Headers
Bad request — the request was invalid (validation error, malformed body, or missing/invalid parameters).
Unauthorized — missing or invalid identity, or insufficient permissions.
Forbidden — none of the contacts the recording's call is attributed to are visible to the caller.
Not Found — no CDR record exists for the uniqueid, no activity exists for the call's linkedid, none of the contacts attributed to it could be found, or the recording file is missing (local or remote storage).
Internal Server Error — an unexpected error occurred.