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
Treść żądania
maxLength
integer
stereo
boolean
Treść odpowiedzi
command
object
Pokaż atrybuty podrzędne
command.id
string
command.callId
string
command.callFlowId
string
command.status
string
command.command
string
command.conditions
array of object
Pokaż atrybuty podrzędne
command.conditions.variable
string
Possible values: keys, speech
command.conditions.operator
string
Possible values: eq, ne, ==, !=, contains
command.conditions.value
string
recordingId
string
Przykład kodu
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'
Przykład kodu
curl -X POST "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings" \
     -H "Authorization: AccessKey YOUR_SECRET_TOKEN"