***

title: stream
slug: /reference/python/rest/calling/stream
description: Stream call audio to a WebSocket endpoint via REST.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Start streaming audio from an active call to a WebSocket endpoint. This is
commonly used for real-time speech processing, analytics, or archival.
Returns a `control_id` for stopping the stream.

<EndpointSchemaSnippet endpoint="POST /api/calling/calls" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/calling/calls" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

result = client.calling.stream(
    call_id="call-id-xxx",
    url="wss://example.com/audio-stream",
)
control_id = result.get("control_id")
```