List Recordings

In order to retrieve all recordings you can use this request.

List recordings

List recordings

GET/workspaces/{workspaceId}/recordings
Authorization
Path parameters
workspaceId*string
Query parameters
Response

OK

Body
resultsarray of Recording (object)
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}/recordings', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer jwt"
    },
});
const data = await response.json();
Response
{
  "results": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "source": "call",
      "sourceId": "123e4567-e89b-12d3-a456-426614174000",
      "channelId": "123e4567-e89b-12d3-a456-426614174000",
      "status": "accepted",
      "direction": "incoming",
      "originator": {
        "contact": {
          "id": "text",
          "identifierKey": "text",
          "identifierValue": "text"
        },
        "number": {
          "type": "pstn",
          "number": "text",
          "anonymous": false,
          "callerIdName": "text",
          "identity": "text",
          "countryIsoCode": "text"
        }
      },
      "receiver": {
        "contact": {
          "id": "text",
          "identifierKey": "text",
          "identifierValue": "text"
        },
        "number": {
          "type": "pstn",
          "number": "text",
          "anonymous": false,
          "callerIdName": "text",
          "identity": "text",
          "countryIsoCode": "text"
        }
      },
      "origin": "call-command-record",
      "duration": 0,
      "stereo": false,
      "format": "text",
      "transcription": false,
      "conferenceId": "123e4567-e89b-12d3-a456-426614174000",
      "url": "text",
      "roomInfoUrl": "text",
      "createdAt": "2024-12-21T12:12:57.731Z",
      "updatedAt": "2024-12-21T12:12:57.731Z",
      "endedAt": "2024-12-21T12:12:57.731Z",
      "startedAt": "2024-12-21T12:12:57.731Z"
    }
  ],
  "nextPageToken": "text"
}
curl "/workspaces/{workpaceId}/recordings" \
     -H 'Authorization: Bearer {Token}'

Last updated