---
title: "Add Ai Message To History"
method: POST
path: "/ai-voice/add-ai-message"
tags: ["ai-voice"]
---

# Add Ai Message To History

`POST /ai-voice/add-ai-message`

Add an AI message to the conversation history (used for pre-generated welcome messages).

Signed in, and only the caller's own session (2026-09-18 route-auth
review). It writes attacker-chosen text into a ChaCha conversation
history, which is then fed back to the model as context on the next turn,
so an open version of this is a prompt-injection hole as well as a
tampering one.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 24 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/ai-voice/add-ai-message/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/ecd3f19d9e8b?raw)
