---
title: "Create new chat"
method: POST
path: "/api/v1/chats/"
tags: ["chats", "android_app", "web_app", "evaluation"]
---

# Create new chat

`POST /api/v1/chats/`

Create new chat

## Request body

- ChatCreate — 创建聊天
  - `agent_id` string, required
  - `request_id` string, nullable

## Response `200`

Successful Response

- Chat — 聊天
  - `id` string, required
  - `user_id` string, required
  - `agent_id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `last_message` string, nullable
  - `last_message_time` string, date-time, nullable
  - `agent_name` string, nullable
  - `agent_avatar` string, nullable
  - `agent_background` string, nullable
  - `agent_background_animated` string, nullable
  - `agent_extensions` object, nullable
  - `agent_is_deleted` boolean, nullable
  - `agent_intro` string, nullable
  - `agent_opening` string, nullable
  - `agent_opening_audio_url` string, nullable
  - `settings` ChatSettings — 聊天设置
    - `language` string
    - `voice_enabled` boolean
    - `style_prompt` string, nullable
    - `premium_mode` boolean
    - `id` string, required
    - `user_id` string, required
    - `agent_id` string, required
    - `chat_id` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2025-11-25** `05cf5f034c74` — 5 info
  - api tag `android_app` added
  - api tag `evaluation` added
  - api tag `web_app` added
  - added the optional property `agent_background_animated` to the response with the `200` status
  - …1 more
- **2025-10-21** `0ee1ca2e37cb` — 3 info
  - added the optional property `agent_intro` to the response with the `200` status
  - added the optional property `agent_opening` to the response with the `200` status
  - added the optional property `agent_opening_audio_url` to the response with the `200` status
- **2025-10-13** `795555ec3f57` — 1 info
  - added the optional property `agent_background` to the response with the `200` status
- **2025-09-29** `bd9470194fe1` — 1 info
  - added the new optional request property `request_id`

[Change history](https://skmtc.dev/nascentcore/apis/inty-backend/changes/api/v1/chats/post.md)

---

[API](https://skmtc.dev/nascentcore/apis/inty-backend.md) · [All operations](https://skmtc.dev/nascentcore/apis/inty-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nascentcore/inty-backend/revisions/1e014c365df2/schema)
