Last updated 11 months ago
Was this helpful?
Use this request to answer a voice call.
curl -X POST "https://nest.messagebird.one/workspaces/8bc02f53-87ac-48d2-b4fd-c2cf856a305f/channels/880d8171-cbab-47bb-81b6-b1a0902da136/calls/4fc2edf7-68f5-437a-89eb-3ce0095409d6 /answer" \ -H 'Authorization: Bearer {Token}'
// N/A
{ "id": "b8c24efd-9646-4029-813c-9c7b13a93d00", "callId": "861bb6cf-3edd-4ed2-837a-5cdf7b88a59c", "command": "answer", "status": "accepted" }
Answer a channel call
/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/answer
The ID of the workspace
The ID for a call
The ID for a channel
Call Command Answer was accepted for processing
The request did not pass validation
curl -L \ --request POST \ --url '/workspaces/{workspaceId}/channels/{channelId}/calls/{callId}/answer' \ --header 'Authorization: Bearer jwt'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "callId": "123e4567-e89b-12d3-a456-426614174000", "callFlowId": "123e4567-e89b-12d3-a456-426614174000", "status": "text", "command": "text", "conditions": [ { "variable": "keys", "operator": "eq", "value": "text" } ] }