---
title: "WebSocket endpoint for chat session events"
method: GET
path: "/chat/ws"
tags: ["chat"]
---

# WebSocket endpoint for chat session events

`GET /chat/ws`

## Query parameters

- `chat_session_id` string, uuid, required
- `api_key` string, nullable
- `session_token` string, nullable

## Other responses

- `101` — WebSocket connection established
- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
