Skip to main content

Update streaming on a call

POST 
/texml/Accounts/:account_sid/Calls/:call_sid/Streams/:streaming_sid.json

Updates streaming resource for particular call.

Request

Path Parameters

    account_sid stringrequired

    The id of the account the resource belongs to.

    call_sid stringrequired

    The CallSid that identifies the call to update.

    streaming_sid uuidrequired

    Uniquely identifies the streaming by id.

Body

Update streaming

    Status StreamStatus (string)

    Possible values: [stopped]

    Default value: stopped

    The status of the Stream you wish to update.

Responses

200: Successful call streaming update response

404: Resource not found

Request samples


curl -L 'https://api.telnyx.com/v2' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"account_sid": "61bf923e-5e4d-4595-a110-56190ea18a1b",
"call_sid": "v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA",
"sid": "e9cea0be-7dbd-4b98-98b1-c0089d9d43b0",
"status": "stopped",
"date_updated": "Fri, 11 Aug 2023 19:12:11 +0000",
"uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls/v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA/Streams/b08f0fa1-a32c-4218-b3b5-9cf78941ccac.json"
}