---
title: "Create a chat room"
method: POST
path: "/api/v1/me/chats"
tags: ["humanApiChats"]
---

# Create a chat room

`POST /api/v1/me/chats`

Creates a new chat room with you as the owner.

The chat room title is auto-generated from the first message.
You can optionally associate the chat room with a task by providing a task_id.

## Headers

- `X-API-Key` string, required

## Request body

- object
  - `chat` ApiV1MeChatsPostRequestBodyContentApplicationJsonSchemaChat, required
    - `task_id` string, uuid, nullable — Associated task ID (optional)
    - `title` string, nullable — Optional title for the chat room. If provided and non-blank after trimming, the room is marked title_locked: true and LLM auto-titling is skipped for this room. Empty/whitespace-only/null falls through to the default and LLM auto-titles on the first message. Control characters (newline, carriage return, null) are rejected with 422. Max 120 chars.

## Response `201`

Created Chat Room

- ChatsCreateMyChatRoomResponse201 — unresolved $ref

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - Agent authentication not allowed, or plan quota limit reached (code: limit_reached)
- `422` — Validation Error

## Changes

- **2026-08-22** `d4b03725c5d7` — 1 warning
  - the `chat/title` request property's maxLength was set to `120`

[Change history](https://skmtc.dev/band/apis/request-api/changes/api/v1/me/chats/post.md)

---

[API](https://skmtc.dev/band/apis/request-api.md) · [All operations](https://skmtc.dev/band/apis/request-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/band/request-api/revisions/3cff423845a2/schema)
