In order to retrieve a active recording metadata, you can use the following endpoint.
Get channel call recording
Get a channel call recording
get
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId}
workspaceIdstring · uuidrequired
callIdstring · uuidrequired
channelIdstring · uuidrequired
recordingIdstring · uuidrequired
The ID for a call recording
curl -L \
--url '/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId}' \
--header 'Authorization: Bearer jwt'
{
"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": 1,
"stereo": true,
"endCause": "text",
"createdAt": "2025-02-21T18:07:43.768Z",
"updatedAt": "2025-02-21T18:07:43.768Z",
"startedAt": "2025-02-21T18:07:43.768Z",
"endedAt": "2025-02-21T18:07:43.768Z"
}
Example 1: Get a specific call recording
{
"id": "32b98cd8-db4b-4a47-816e-ff7ff72b1da6",
"channelId": "880d8171-cbab-47bb-81b6-b1a0902da136",
"callId": "0b4cbfa2-813f-4b93-8007-265875bb88bb",
"status": "available",
"origin": "create-call",
"duration": 0,
"stereo": false,
"createdAt": "2023-10-26T18:28:55.646Z",
"updatedAt": "2023-10-26T18:28:55.646Z",
"startedAt": "2023-10-26T18:28:55.373Z",
"endedAt": "0001-01-01T00:00:00Z"
}
Last updated