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
请求载荷
maxLength
integer
stereo
boolean
响应载荷
command
object
显示子属性
command.id
string
command.callId
string
command.callFlowId
string
command.status
string
command.command
string
command.conditions
array of object
显示子属性
command.conditions.variable
string
Possible values: keys, speech
command.conditions.operator
string
Possible values: eq, ne, ==, !=, contains
command.conditions.value
string
recordingId
string
代码示例
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings' \
  -H 'Authorization: AccessKey YOUR_ACCESS_KEY'
代码示例
curl -X POST "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/recordings" \
     -H "Authorization: AccessKey YOUR_SECRET_TOKEN"