---
title: "WebSocket audio stream for a room"
method: GET
path: "/rooms/{id}/ws"
tags: ["Rooms"]
---

# WebSocket audio stream for a room

`GET /rooms/{id}/ws`

Upgrades to a WebSocket connection and joins the room as a bidirectional audio participant. The client sends and receives 16kHz 16-bit signed little-endian PCM audio (mono), base64-encoded in JSON text frames. Each audio frame is 640 bytes (20ms).

## Other responses

- `101` — WebSocket upgrade successful. Server sends a `connected` message followed by mixed-minus-self audio frames.
- `404` — Room not found

---

[API](https://skmtc.net/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.net/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voiceblender/voiceblender-api/revisions/a9fef0514840/schema)
