Call Commands
Streaming stop
Stop streaming a call to a WebSocket.
Expected Webhooks:
- streaming.stopped
post/calls/{call_control_id}/actions/streaming_stop
Request
- Base URLhttps://api.telnyx.com/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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",
"stream_id": "1edb94f9-7ef0-4150-b502-e0ebadfd9491"
}Response
Successful response upon making a call control command.
Example response
{
"data": {
"result": "ok"
}
}Changes
No recorded changes to this operation across all 108 revisions of this API.