conversationMessageAdd
Adds a new message to a conversation. Use this to send replies, internal notes, or bot messages. Set visibility=‘internal’ for team-only notes invisible to customers.
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: 'text', 'media', 'template', etc.
Text content of the message.
Media content (attachments).
Who is sending this message.
Visibility level: 'public', 'internal', or 'hidden'.
Threading, forwarding, and mention context.
Template content for template messages.
Additional 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').
System event content (when type='system').
Form submission content (when type='form').
Engage/campaign content (when type='engage').
Video call content (when type='videoCall').
Order/commerce content (when type='order').
WhatsApp ad referral data.
When this message was last updated.
Related topics
Connect AI apps to hosted MCPconversationMessageUpdateconversationMessageconversationMessagesConversationMessage