---
title: "Chat Message Preview"
method: POST
path: "/chat/message"
tags: ["chat", "chat"]
---

# Chat Message Preview

`POST /chat/message`

Chat endpoint for preview/onboarding users (anonymous users).
Works with anonymous user IDs created during onboarding.
Does NOT require authentication but does require a valid user_id.

## Request body

- ChatPreviewRequest
  - `message` string, required
  - `user_id` string, nullable
  - `target_language` string, nullable
  - `proficiency_level` string, nullable
  - `is_preview` boolean, nullable
  - `enhanced` boolean, nullable
  - `conversation_history` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/78f314acd8bf/schema)
