---
title: "Chat Stream Endpoint"
method: POST
path: "/chat/stream"
tags: ["chat"]
---

# Chat Stream Endpoint

`POST /chat/stream`

## Request

- Base URL: `https://backend.snapmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.snapmagic.com/chat/stream`
- Auth: none declared

## Request body

- ChatMessagePayload
  - `message` string, required
  - `token` string, required
  - `is_test` boolean
  - `version` integer, nullable
  - `ref` string, nullable
  - `aiTrainingAllowed` boolean, nullable
  - `thread_id` string, required
  - `supported_format` string, nullable
  - `schematic` object, nullable
  - `public_url` string, nullable
  - `current_web_url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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