Feishu

Create a new Feishu group chat

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

post/api/feishu/chat/create

Request

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

Request body

namestring required

Name of the group chat

descriptionstring

Optional description for the group chat

ownerIdstring required

Feishu open_id of the chat owner

userIdsstring[] required

Array of Feishu open_ids to add to the chat

brandIdstring required

Brand ID to link the chat

Example request

{
  "name": "Brand Communication",
  "description": "Discussion for brand communications",
  "ownerId": "ou_b6a636e475832df58fe17906f639633b",
  "userIds": [
    "ou_b6a636e475832df58fe17906f639633b",
    "ou_211fa563ee33f5f1cce44e8367f437f3"
  ],
  "brandId": "55de8288-e955-4f0a-a344-2988295215db"
}

Response

Group chat created successfully

successboolean
chatIdstring

The created chat ID

dataobject

Response data from Feishu API

Example response

{
  "success": true,
  "chatId": "oc_7fad02e6ecf890b41216204948aaeb53"
}

Changes

No recorded changes to this operation across all 1 revision of this API.