Answer a call
Use this request to answer a voice call.
POST
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/answer
Answer a channel call
Payload respons
id
string
callId
string
callFlowId
string
status
string
command
string
conditions
array of object
Tampilkan atribut turunan
conditions.variable
string
Possible values: keys, speech
conditions.operator
string
Possible values: eq, ne, ==, !=, contains
conditions.value
string
Contoh kode
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/answer' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'Example 1: Answer an inbound call
Contoh kode
curl -X POST "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/answer" \
-H "Authorization: AccessKey YOUR_SECRET_TOKEN"
Contoh kode
// N/A
Contoh kode
{
"id": "b8c24efd-9646-4029-813c-9c7b13a93d00",
"callId": "861bb6cf-3edd-4ed2-837a-5cdf7b88a59c",
"command": "answer",
"status": "accepted"
}