# Send a message

Use this endpoint to send a message to a conversation. You can include plain text and optionally attach a file using an attachment ID from a previous upload.

Endpoint: POST /messages/send
Version: 3.2-Beta
Security: BearerAuth

## Header parameters:

  - `X-Affiliate-Id` (integer, required)
    Include here your Affiliate identifier number

## Request fields (application/json):

  - `conversation` (string, required)
    The unique identifier of the conversation

  - `accommodation` (string, required)
    The unique identifier of the property

  - `content` (string, required)
    The body of the message.

  - `attachments` (array)

## Response 200 fields (application/json):

  - `request_id` (string)
    Uniquely identifies the request. Please provide this identifier when contacting support.

  - `data` (object)

  - `data.message` (string)
    A unique identifier for the message.


