Last updated 1 year ago
Was this helpful?
Update a call recording status during the call, a call recording status can be changed to paused, ongoing, or completed.
paused
ongoing
completed.
curl -X "PATCH" "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/channels/880d8171-cbab-47bb-81b6-b1a0902da136/calls/0b4cbfa2-813f-4b93-8007-265875bb88bb/recordings/32b98cd8-db4b-4a47-816e-ff7ff72b1da6" \ -H 'Authorization: Bearer {Token}'
{ "status": "paused" }
{โ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",โ "channelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",โ "status": "accepted",โ "origin": "call-command-record",โ "duration": 0,โ "stereo": true,โ "endCause": "string",โ "createdAt": "2023-10-25T14:36:18.580Z",โ "updatedAt": "2023-10-25T14:36:18.580Z",โ "startedAt": "2023-10-25T14:36:18.580Z",โ "endedAt": "2023-10-25T14:36:18.580Z"โ โ}
Update a call recording
The ID of the workspace
The ID for a call
The ID for a channel
The ID for a call recording
completed
PATCH /workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId} HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 19 { "status": "paused" }
Call Recording update accepted
{ "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-05-07T01:44:40.110Z", "updatedAt": "2025-05-07T01:44:40.110Z", "startedAt": "2025-05-07T01:44:40.110Z", "endedAt": "2025-05-07T01:44:40.110Z" }