Call Status
GET/calls/:call_control_id/status
Returns the status of a given call.
Request
Path Parameters
call_control_id stringrequired
Unique identifier and token for controlling the call
Responses
200: Successful response
- application/json
422: Error response
- application/json
Request samples
curl -L 'https://api.telnyx.com/calls/:call_control_id/status' \
-H 'Accept: application/json'
Response samples
{
"data": {
"record_type": "string",
"call_control_id": "AgDIxmoRX6QMuaIj_uXRXnPAXP0QlNfXczRrZvZakpWxBlpw48KyZQ==",
"call_leg_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"call_session_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"is_alive": true
}
}
{
"code": "90015",
"title": "Invalid Call Control ID",
"detail": "The call_control_id provided was not valid."
}