---
title: "Send a message"
method: POST
path: "/messages/send"
tags: ["Messages"]
---

# Send a message

`POST /messages/send`

Sends a message within a conversation. The message body supports plain text.
Optionally, attach a file by referencing a previously uploaded attachment ID.

## Headers

- `X-Affiliate-Id` integer, required

## Request body

- object
  - `conversation` string, required — Unique identifier of the conversation.
  - `accommodation` string, required — Unique identifier of the property.
  - `content` string, required — The message text to send.
  - `attachments` string[] — Optional list of attachment IDs, if sending one or more files.

## Response `200`

Message sent successfully.

- object
  - `request_id` string — Unique identifier for this request. Provide this ID when contacting support.
  - `data` object
    - `message` string — Unique identifier for the sent message.

---

[API](https://skmtc.net/booking/apis/booking-com-demand-api.md) · [All operations](https://skmtc.net/booking/apis/booking-com-demand-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/booking/booking-com-demand-api/revisions/e5f3dccae7ca/schema)
