---
title: "Chat With Ai"
method: POST
path: "/chat/ai/{user_id}"
---

# Chat With Ai

`POST /chat/ai/{user_id}`

Send a message to ChaCha AI and get a response.

The `{user_id}` in the path is IGNORED and kept only so existing clients
keep working: until 2026-09-18 it was the only thing this endpoint knew
about the caller, so anyone on the internet could write messages into any
account's ChaCha conversation and read ChaCha's reply built from that
account's profile. The caller is `current_user_id`, from the token.

## Path parameters

- `user_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-09-21** `13996d792e23` — 1 info
  - added the new optional `header` request parameter `authorization`

[Change history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/chat/ai/:user_id/post.md)

---

[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.dev/fluentea/apis/aurqa-language-learning-platform-refactored/revisions/13996d792e23?raw)
