---
title: "Send a message to a Feishu chat"
method: POST
path: "/api/feishu/message/send"
tags: ["Feishu"]
---

# Send a message to a Feishu chat

`POST /api/feishu/message/send`

## Request

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

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

## Request body

- object
  - `chatId` string, required: Feishu chat ID where to send the message
  - `content` string, required: The message content to send
  - `msgType` 'text' | 'rich_text' | 'image' | 'card': Type of message to send
  - `brandId` string, required: Brand ID for message context
  - `ticketId` string, required: Ticket ID for message context
  - `partnershipId` string: Partnership ID (optional)
  - `partnershipStatus` string: Partnership status (optional)

## Response `200`

Message sent successfully

- object
  - `success` boolean
  - `messageId` string: The sent message ID
  - `data` object: Response data from Feishu API

## Other responses

- `400`: Bad request - validation error or send 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)
