---
title: "Start streaming media from a call."
method: POST
path: "/texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json"
tags: ["TeXML REST Commands"]
---

# Start streaming media from a call.

`POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json`
- Auth: HTTP bearer

Starts streaming media from a call to a specific WebSocket address.

## Path parameters

- `account_sid` string, required
- `call_sid` string, required

## Request body `application/x-www-form-urlencoded`

- TexmlCreateCallStreamingRequestBody
  - `StatusCallback` string, uri: Url where status callbacks will be sent.
  - `StatusCallbackMethod` 'GET' | 'POST': HTTP method used to send status callbacks.
  - `Track` 'inbound_track' | 'outbound_track' | 'both_tracks': Tracks to be included in the stream
  - `Name` string: The user specified name of Stream.
  - `BidirectionalMode` 'mp3' | 'rtp': Configures method of bidirectional streaming (mp3, rtp).
  - `BidirectionalCodec` 'PCMU' | 'PCMA' | 'G722': Indicates codec for bidirectional streaming RTP payloads. Used only with stream_bidirectional_mode=rtp. Case sensitive.
  - `Url` string: The destination WebSocket address where the stream is going to be delivered.

## Response `200`

Successful call streaming create response

- TexmlCreateCallStreamingResponseBody
  - `account_sid` string
  - `call_sid` string
  - `sid` string: Identifier of a resource.
  - `name` string: The user specified name of Stream.
  - `status` 'in-progress': The status of the streaming.
  - `date_updated` string, date-time
  - `uri` string: The relative URI for this streaming resource.

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/f82938f53ff4?raw)
