List call recordings of a call

This endpoint lists all active call recordings of an active call. If you want to list recordings from a completed call, you should use the Recordings API.

Command record a call

type: object
title: ChannelCallRecordingList
description: A list of channel call recordings
properties:
  results:
    type: array
    items:
      $ref: './CallRecording.yml'

Get call recordings from a call

Get a list of recordings from a channel call

GET/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings
Authorization
Path parameters
workspaceId*string (uuid)

The ID of the workspace

callId*string (uuid)

The ID for a call

channelId*string (uuid)

The ID for a channel

Query parameters
Response

OK

Body
resultsarray of ChannelCallRecording
nextPageTokenstring

The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display.

Request
const response = await fetch('/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer jwt"
    },
});
const data = await response.json();
Response
{
  "results": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "callId": "123e4567-e89b-12d3-a456-426614174000",
      "channelId": "123e4567-e89b-12d3-a456-426614174000",
      "status": "accepted",
      "origin": "call-command-record",
      "duration": 0,
      "stereo": false,
      "endCause": "text",
      "createdAt": "2024-12-21T12:13:26.786Z",
      "updatedAt": "2024-12-21T12:13:26.786Z",
      "startedAt": "2024-12-21T12:13:26.786Z",
      "endedAt": "2024-12-21T12:13:26.786Z"
    }
  ],
  "nextPageToken": "text"
}

Example 1: Get the list of call recordings

You might consider filtering the recording list based on a limit for example.

curl "/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings" \
     -H 'Authorization: Bearer {Token}'

Last updated