Sign inGet started

Record a call session

Records the call session. If a call is bridged, both audio streams are recorded.
POST
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings
Record a channel call session
Payload permintaan
maxLength
integer
stereo
boolean
Payload respons
command
object
Tampilkan atribut turunan
command.id
string
command.callId
string
command.callFlowId
string
command.status
string
command.command
string
command.conditions
array of object
Tampilkan atribut turunan
command.conditions.variable
string
Possible values: keys, speech
command.conditions.operator
string
Possible values: eq, ne, ==, !=, contains
command.conditions.value
string
recordingId
string
Contoh kode
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'
Contoh kode
curl -X POST "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings" \
     -H "Authorization: AccessKey YOUR_SECRET_TOKEN"