---
title: "Create a new Feishu group chat"
method: POST
path: "/api/feishu/chat/create"
tags: ["Feishu"]
---

# Create a new Feishu group chat

`POST /api/feishu/chat/create`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/feishu/chat/create`
- Auth: HTTP bearer

Creates a new group chat in Feishu and stores the chat metadata in the database

## Request body

- object
  - `name` string, required: Name of the group chat
  - `description` string: Optional description for the group chat
  - `ownerId` string, required: Feishu open_id of the chat owner
  - `userIds` string[], required: Array of Feishu open_ids to add to the chat
  - `brandId` string, required: Brand ID to link the chat

## Response `200`

Group chat created successfully

- object
  - `success` boolean
  - `chatId` string: The created chat ID
  - `data` object: Response data from Feishu API

## Other responses

- `400`: Bad request - validation error or creation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/kolect/apis/kolect-api.md) · [All operations](https://skmtc.dev/kolect/apis/kolect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolect/apis/kolect-api/revisions/fe54528e8f54?raw)
