---
title: "Send a message"
method: POST
path: "/v1/chats/{chatID}/messages"
tags: ["Messages"]
---

# Send a message

`POST /v1/chats/{chatID}/messages`

Send a text message to a specific chat. Supports replying to existing messages. Returns a pending message ID.

## Path parameters

- `chatID` string, required — Unique identifier of the chat.

## Request body

- object
  - `text` string — Text content of the message you want to send. You may use markdown.
  - `replyToMessageID` string — Provide a message ID to send this as a reply to an existing message
  - `attachment` MessageAttachmentInput — Single attachment to send with the message
    - `uploadID` string, required — Upload ID from uploadAsset endpoint. Required to reference uploaded files.
    - `mimeType` string — MIME type (optional override of cached value)
    - `fileName` string — Filename (optional override of cached value)
    - `size` object — Dimensions (optional override of cached value)
      - `width` number, required
      - `height` number, required
    - `duration` number — Duration in seconds (optional override of cached value)
    - `type` 'gif' | 'voiceNote' | 'sticker' — Special attachment type (gif, voiceNote, sticker). If omitted, auto-detected from mimeType

## Response `200`

Request executed successfully

- SendMessageOutput
  - `chatID` string, required — Unique identifier of the chat.
  - `pendingMessageID` string, required — Pending message ID

## Other responses

- `400` — Invalid request parameters
- `401` — Access token is missing or invalid
- `403` — Access token does not have the required scope
- `404` — Resource not found
- `422` — Unprocessable entity - validation error
- `429` — Too many requests - rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.net/beeper/apis/beeper-desktop-api.md) · [All operations](https://skmtc.net/beeper/apis/beeper-desktop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beeper/beeper-desktop-api/revisions/5a8ac7b545c4/schema)
