Feishu

Register an existing Feishu chat

Registers an existing Feishu chat with a brand to enable message storage

post/api/feishu/chat/register

Request

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

Request body

chatIdstring required

Feishu chat ID to register

chatNamestring

Optional name for the chat

chatTypestring

Type of the chat

brandIdstring required

Brand ID to associate with the chat

creatorIdstring

Optional creator ID

Example request

{
  "chatId": "oc_7fad02e6ecf890b41216204948aaeb53",
  "chatName": "Brand Communication",
  "chatType": "group",
  "brandId": "55de8288-e955-4f0a-a344-2988295215db",
  "creatorId": "ou_b6a636e475832df58fe17906f639633b"
}

Response

Chat registered successfully

successboolean
messagestring

Example response

{
  "success": true,
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "chat_id": "oc_7fad02e6ecf890b41216204948aaeb53",
    "chat_name": "Campaign Discussion",
    "chat_type": "group",
    "brand_id": "123e4567-e89b-12d3-a456-426614174000",
    "creator_id": "ou_b6a636e475832df58fe17906f639633b"
  },
  "message": "Chat registered successfully. Future messages will be stored with brand context."
}

Changes

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