---
title: "Open a realtime WebSocket."
method: GET
path: "/api/v1/tenants/{tenant_id}/realtime/ws"
tags: ["Realtime"]
---

# Open a realtime WebSocket.

`GET /api/v1/tenants/{tenant_id}/realtime/ws`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/api/v1/tenants/{tenant_id}/realtime/ws`
- Auth: HTTP bearer

Upgrades the connection to a realtime WebSocket stream for a tenant.

## Path parameters

- `tenant_id` string, required

## Other responses

- `101`: WebSocket upgrade
- `401`: Missing or invalid API key
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
