---
title: "Log Room Chat Message"
method: POST
path: "/chatrooms/{room_name}/chat/log"
tags: ["chatrooms"]
---

# Log Room Chat Message

`POST /chatrooms/{room_name}/chat/log`

Record one in-call chat message so it survives the room.

**This is not the delivery path.** Messages reach the other participants
over the LiveKit data channel; the client calls this alongside that, after
it has already published. Persistence must never be able to delay or drop a
message in a live class, so a failure here costs the record and not the
conversation — which is why the client fires it and does not await it.

Idempotent on `client_id`: a retry, or the class broadcast echoing a message
back into its own room, updates nothing and returns the existing row.

## Path parameters

- `room_name` string, required

## Headers

- `authorization` string, nullable

## Request body

- object

## 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/45cbba31aa7d/schema)
