send_message
Send replies, emails, or private notes to a LibreDesk conversation, including recipients, attachments, and mentions.
Instructions
Send Message
Replies require the messages:write permission. Private notes (private: true) require messages:write_private. Messages with sender_type: contact also require messages:write_as_contact.
POST /api/v1/conversations/{cuuid}/messages
Tags: Conversations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | (body) CC recipients | |
| to | No | (body) Email recipients | |
| bcc | No | (body) BCC recipients | |
| cuuid | Yes | (path parameter) | |
| echo_id | No | (body) Client-generated identifier echoed back to deduplicate the message on the sender's side | |
| message | No | (body) Message content | |
| private | No | (body) Whether message is private (internal note) | |
| mentions | No | (body) Agents or teams mentioned in a private note. | |
| send_from | No | (body) Email inbox only. Address to send the reply from: the inbox address or one of its verified aliases (`inbox_aliases` on the conversation). Defaults to the address last used in the conversation. | |
| source_id | No | (body) Contact messages only. RFC 5322 Message-ID of the original inbound email. It is stored on the created message so replies thread on it. | |
| attachments | No | (body) IDs of media uploaded by the caller with `POST /api/v1/media`. Media uploaded by another user is rejected with 403. | |
| sender_type | Yes | (body) Specifies whether the message is sent by an agent or a contact. |