Call Commands
post/calls/{call_control_id}/actions/reject
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/calls/{call_control_id}/actions/reject
- Auth: HTTP bearer
Path parameters
call_control_idstring required
Unique identifier and token for controlling the call
Request body
Example request
{
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"command_id": "891510ac-f3e4-11e8-af5b-de00688a4901",
"cause": "USER_BUSY"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}Changes
- info
added the new
NOT_FOUNDenum value to the request property - info
added the new
TEMPORARILY_UNAVAILABLEenum value to the request property
- info
- breaking
the response's body type changed from
objectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32tointegerfor status
- breaking