Call Commands
Reject a call
Reject an incoming call.
Expected Webhooks:
- call.hangup
post/calls/{call_control_id}/actions/reject
Path parameters
call_control_idstring required
Unique identifier and token for controlling the call
Request body
Example request
{
"cause": "USER_BUSY",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}