Feishu

Send a message to a Feishu chat

Sends a message to an existing Feishu chat and stores the message in the database

post/api/feishu/message/send

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/feishu/message/send
  • Auth: HTTP bearer

Request body

chatIdstring required

Feishu chat ID where to send the message

contentstring required

The message content to send

msgType'text' | 'rich_text' | 'image' | 'card'

Type of message to send

brandIdstring required

Brand ID for message context

ticketIdstring required

Ticket ID for message context

partnershipIdstring

Partnership ID (optional)

partnershipStatusstring

Partnership status (optional)

Example request

{
  "chatId": "oc_7fad02e6ecf890b41216204948aaeb53",
  "content": "欢迎,之后我们可以在这里沟通campaign和博主相关问题",
  "msgType": "text",
  "brandId": "55de8288-e955-4f0a-a344-2988295215db",
  "ticketId": "123e4567-e89b-12d3-a456-426614174000",
  "partnershipId": "456e7890-e89b-12d3-a456-426614174000",
  "partnershipStatus": "active"
}

Response

Message sent successfully

successboolean
messageIdstring

The sent message ID

dataobject

Response data from Feishu API

Example response

{
  "success": true,
  "messageId": "om_x100b49f3c1a61db00f472ef72e8a9de"
}

Changes

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