Recordings
List and download call recordings for the campaigns a key may read.
List a call's recordings
GET/v1/integrations/calls/{callId}/recordings
Lists the recordings of a human call that are ready to download. Needs the recordings.read scope with the call's campaign selected on the key. Calls in other campaigns return 404, so the response never reveals whether they exist. Subscribe to recording.available to learn when to call this.
Path parameters
callIdCall ID (from a call event).
Responses
Downloadable recordings.
itemsThe records in this response, in the documented order.
Errors
PARTNER_SCOPE_FORBIDDENThe key lacks therecordings.readscope.RECORDING_NOT_FOUNDThe call or recording does not exist or the key cannot see it.- Telephony returned an error;
error.codenames it. Retry shortly. - A service this operation depends on is temporarily unavailable; retry with backoff.
Download a recording
GET/v1/integrations/calls/{callId}/recordings/{recordingId}/content
Streams the audio of a listed recording. Send a single Range: bytes=… header to resume a download or seek; the response is then 206 Partial Content. Needs the recordings.read scope with the call's campaign selected.
Path parameters
callIdCall ID.
recordingIdRecording ID from the recording list.
Headers
RangeOne byte range, for example
bytes=0-1048575.
Responses
The whole recording.
Accept-RangesAlwaysbytes.Content-LengthSize of the audio in bytes.
Errors
PARTNER_SCOPE_FORBIDDENThe key lacks therecordings.readscope.RECORDING_NOT_FOUNDThe call or recording does not exist or the key cannot see it.- Telephony returned an error;
error.codenames it. Retry shortly. - A service this operation depends on is temporarily unavailable; retry with backoff.