Send a message in a conversation
Sends an outgoing DM via the connected platform account and records it in the conversation.
Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Conversation ID
Body
Message payload
"acc_abc123"
AttachmentURL is a single-attachment shorthand. Ignored when attachments is non-empty; its type is inferred from the URL extension.
Deprecated: use Attachments instead, which supersedes it and supports one or many items.
"https://cdn.example.com/photo.jpg"
Attachments sends one or more media items, each as its own message bubble.
Buttons renders a button template (1-3 buttons); uses text as the bubble body.
Cards renders a generic/carousel template (up to 10 cards).
MessageTag attaches a Meta message tag so the DM can be sent outside the standard 24-hour window. Instagram/Facebook only. Instagram accepts only HUMAN_AGENT; Facebook also accepts ACCOUNT_UPDATE, CONFIRMED_EVENT_UPDATE, CUSTOMER_FEEDBACK, POST_PURCHASE_UPDATE. Requires Meta "Human Agent" advanced access for HUMAN_AGENT. Ignored by non-Meta platforms. For beta testers replying on Facebook Messenger, HUMAN_AGENT is applied automatically when this field is omitted.
"HUMAN_AGENT"
QuickReplies renders up to 13 tappable chips above the keyboard; requires text.
ReplyToMessageID makes the first sent bubble a reply to a specific prior message (Meta message.reply_to.mid). Instagram/Facebook only.
"m_1234567890"
"Thanks for your message!"
Response
Message sent with ID
MessageID is the first sent message's ID; for a multi-attachment send it is only the first of several IDs.
Deprecated: use MessageIDs instead.
"m_1234567890"
MessageIDs holds every sent message's ID, in send order.
["m_1234567890"]true