Sign inGet started

Update a call recording

Update a call recording status during the call, a call recording status can be changed to paused, ongoing, or completed.
PATCH
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId}
Update a call recording
Verzoek-payload
status
string
Possible values: paused, ongoing, completed
Antwoord-payload
id
string
verplicht
callId
string
verplicht
channelId
string
status
string
verplicht
Possible values: accepted, ongoing, paused, completed, available, absent, failed
origin
string
verplicht
Possible values: call-command-record, call-command-record-call, create-call, bridge-call
duration
integer
stereo
boolean
endCause
string
createdAt
string
verplicht
updatedAt
string
verplicht
startedAt
string
endedAt
string
Codevoorbeeld
curl -X PATCH 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId}' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'

Example 1: Pause a call recording

Codevoorbeeld
curl -X PATCH "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings/{recordingId}" \
     -H "Authorization: AccessKey YOUR_SECRET_TOKEN"