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.
GET
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings
Get a list of recordings from a channel call
Parámetros de consulta
limit
integer
Limits the number of results to return.
pageToken
string
The cursor that keeps track of the current position in the results.
Cuerpo de la respuesta
results
array of object
Mostrar atributos secundarios
results.id
string
obligatorio
results.callId
string
obligatorio
results.channelId
string
results.status
string
obligatorio
Possible values: accepted, ongoing, paused, completed, available, absent, failed
results.origin
string
obligatorio
Possible values: call-command-record, call-command-record-call, create-call, bridge-call
results.duration
integer
results.stereo
boolean
results.endCause
string
results.createdAt
string
obligatorio
results.updatedAt
string
obligatorio
results.startedAt
string
results.endedAt
string
nextPageToken
string
The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display.
Ejemplo de código
curl -X GET 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'Example 1: Get the list of call recordings
You might consider filtering the recording list based on a limit for example.
Ejemplo de código
curl "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings" \
-H "Authorization: AccessKey YOUR_SECRET_TOKEN"
Ejemplo de código
// N/A
Ejemplo de código
{
"results": [
{
"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"
}
]
}