Ring a call
In order to initiate ringing on an inbound call you can use this request.
POST
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/ringing
Send call ringing
Antwort-Payload
id
string
callId
string
callFlowId
string
status
string
command
string
conditions
array of object
Untergeordnete Attribute anzeigen
conditions.variable
string
Possible values: keys, speech
conditions.operator
string
Possible values: eq, ne, ==, !=, contains
conditions.value
string
Codebeispiel
curl -X POST 'https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/ringing' \
-H 'Authorization: AccessKey YOUR_ACCESS_KEY'Example 1: Ringing an inbound call
Codebeispiel
curl -X POST "https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/ringing" \
-H "Authorization: AccessKey YOUR_SECRET_TOKEN"
Codebeispiel
// N/A
Codebeispiel
{
"id": "1b416337-856e-4c6a-bfbd-ef872fad172a",
"callId": "48609ac0-5c5e-40af-8c0c-08c59bd902cd",
"command": "ringing",
"status": "accepted"
}