Skip to main content
POST
Send a message in a conversation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversation_id
string
required

Conversation ID

Body

application/json

Message payload

account_id
string
required
Example:

"acc_abc123"

attachment_url
string

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.

Example:

"https://cdn.example.com/photo.jpg"

attachments
object[]

Attachments sends one or more media items, each as its own message bubble.

buttons
object[]

Buttons renders a button template (1-3 buttons); uses text as the bubble body. On WhatsApp send up to 3 postback buttons with unique payloads, or a single url button that opens its url.

cards
object[]

Cards renders a generic/carousel template (up to 10 cards).

list_button
string

ListButton is the label on the button that opens the list. Required with list_sections, max 20 characters.

Example:

"View options"

list_sections
object[]

ListSections renders a tappable list behind a single button, for menus wider than the 3 buttons a reply-button message allows (up to 10 rows in total, across up to 10 sections). WhatsApp only; requires text and list_button.

message_tag
string

Optional. Only HUMAN_AGENT is accepted, on Instagram accounts connected with Instagram Login, for replies a member of your team types between 24 hours and 7 days after the person's last message. Workflows, automations, bots and AI agents acting on their own send without it, so they reply within 24 hours of the person's last message. Ask support to enable it for your account. Inside 24 hours the message is sent without the tag.

Example:

"HUMAN_AGENT"

quick_replies
object[]

QuickReplies renders up to 13 tappable chips above the keyboard; requires text.

reply_to_message_id
string

ReplyToMessageID makes the first sent bubble a reply to a specific prior message (Meta reply_to.mid). Instagram/Facebook only.

Example:

"m_1234567890"

text
string
Example:

"Thanks for your message!"

Response

Message sent with ID

message_id
string
required

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.

Example:

"m_1234567890"

message_ids
string[]
required

MessageIDs holds every sent message's ID, in send order.

Example:
success
boolean
required
Example:

true