---
title: "Create a new chat message in a thread"
method: POST
path: "/api/v5/ai-chat/messages/"
tags: ["Ai Chat Messages"]
---

# Create a new chat message in a thread

`POST /api/v5/ai-chat/messages/`

Create a new message in a specific thread.

## Request body

- BodyAiChatMessagesCreateApiV5AiChatMessagesPost
  - `message` AiChatMessageInCreateRestricted, required
    - `threadId` integer
    - `content` string, required — Full message content

## Response `201`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pavlok/apis/pavlok-api-v5.md) · [All operations](https://skmtc.net/pavlok/apis/pavlok-api-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pavlok/pavlok-api-v5/revisions/3d192098b1ac/schema)
