Streams

Create a Stream

Create a stream.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.

Learn more about API scopes.

post/Accounts/{AccountSid}/Calls/{CallSid}/Streams

Path parameters

AccountSidstring uuid required

The Project ID that uniquely identifies the Account.

CallSidstring uuid required

The unique identifier for the call.

Response

The request has succeeded.

sidstring uuid required

The unique identifier for the stream.

account_sidstring uuid required

The unique identifier for the account.

call_sidstring uuid required

The unique identifier for the call.

namestring required

The name of the stream.

status'queued' | 'in-progress' | 'stopped' required

Stream status.

date_updatedstring required

The date, in RFC 2822 GMT format, this stream was updated.

uristring required

The URI for the stream.

Example response

{
  "sid": "b3877c40-da60-4998-90ad-b792e98472st",
  "account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
  "call_sid": "b3877c40-da60-4998-90ad-b792e98472ca",
  "name": "my_first_stream",
  "date_updated": "Wed, 19 Sep 2018 21:00:00 +0000",
  "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls/b3877c40-da60-4998-90ad-b792e98472ca/Streams/b3877c40-da60-4998-90ad-b792e98472st.json"
}

Changes