conversationMessageAdd
Add a new message to a conversation — a reply, an internal note, or a templated/interactive message.
Set visibility: "internal" for team-only notes invisible to the
customer. Provide interactive for WhatsApp/Instagram/Facebook buttons,
lists, or carousels.
Side effects: dispatches the message to the underlying channel (e.g. WhatsApp, Messenger) when visibility is "public", and fires conversation automation triggers.
Auth · x-app-token · required permission conversationMessageAdd
Related: conversationMessageUpdate, conversationMessages, ConversationMessage
conversationMessageAdd(conversationId: String, type: String, text: MessageTextInput, media: MessageMediaInput, sender: MessageSenderInput, visibility: String, context: MessageContextInput, template: JSON, metadata: JSON, interactive: JSON): ConversationMessageArguments
The conversation id to add the message to.
Message type discriminator, e.g. "text", "media", "template".
Text content, when type is "text".
Media/attachment content, when type is "media".
Who is sending this message.
"public" (default), "internal" (team-only note), or "hidden".
Threading, forwarding, and mention context.
Template payload, when type is "template".
Additional free-form metadata as JSON.
Interactive message payload (buttons, lists, carousels) for WhatsApp/Instagram/Facebook.
Returns
Message type discriminator.
Who sent this message.
Visibility level: 'public', 'internal', or 'hidden'.
Text content (when type='text').
Media content (image, audio, video, document — single or multiple).
Template content (when type='template').
Interactive content (when type='interactive').
Tool call data (when type='tool_call').
Email envelope and body (when type='email').
Threading, forwarding, mention context.
Delivery status and error info.
Reactions on this message.
External origin tracking.
Message edit history.
Extensible metadata bucket.
The resolved original message being replied to.
The resolved customer who sent this message.
The resolved agent who sent this message.
The parent conversation.
The conversation this message belongs to.
When this message was created.
Sticker attachment (when type='sticker').
Location data (when type='location').
Contact cards (when type='contacts').
CTWA ad referral attached to the message.
System event content (populated when type is "system").
Form submission content (populated when type is "form").
Engage/campaign content (populated when type is "engage").
Video call content (populated when type is "videoCall").
Order/commerce content (populated when type is "order").
When this message was last updated (e.g. reaction or visibility change via conversationMessageUpdate).
Live WhatsApp call card (when type='whatsapp_call').