Update client state
Changed onUpdates the client state associated with the call. Client state is an opaque value echoed back in subsequent webhooks for the call, letting you correlate events with your application's state.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/calls/{call_control_id}/actions/client_state_update
- Auth: HTTP bearer
Path parameters
Unique identifier and token for controlling the call
Request body
Example request
{
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}Changes
- 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
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromstringtointeger, and format fromintegertoint32for status - breaking
the
///response's property format changed fromjson-pointerto no format for status
- breaking