Portal Community

send-text

Sends a plain text message.

FieldRequiredDescription
to✓ YesRecipient phone number, E.164 format (e.g. +14155551234).
text✓ YesMessage body.
previewUrlNoSet to "true" to render a link preview for the first URL in text.

send-image

Sends an image by media ID (previously uploaded) or a public URL.

FieldRequiredDescription
to✓ YesRecipient phone number.
mediaIdNoID from a prior media/upload call. Use this OR mediaUrl.
mediaUrlNoPublicly reachable image URL. Use this OR mediaId.
captionNoOptional caption shown under the image.

send-video

Sends a video by media ID or URL.

FieldRequiredDescription
to✓ YesRecipient phone number.
mediaIdNoUploaded media ID. Use this OR mediaUrl.
mediaUrlNoPublicly reachable video URL. Use this OR mediaId.
captionNoOptional caption.

send-audio

Sends an audio clip by media ID or URL.

FieldRequiredDescription
to✓ YesRecipient phone number.
mediaIdNoUploaded media ID. Use this OR mediaUrl.
mediaUrlNoPublicly reachable audio URL. Use this OR mediaId.

send-document

Sends a document (PDF, etc.) by media ID or URL.

FieldRequiredDescription
to✓ YesRecipient phone number.
mediaIdNoUploaded media ID. Use this OR mediaUrl.
mediaUrlNoPublicly reachable document URL. Use this OR mediaId.
filenameNoFilename shown to the recipient.
captionNoOptional caption.

send-sticker

Sends a WEBP sticker by media ID.

FieldRequiredDescription
to✓ YesRecipient phone number.
mediaId✓ YesID of a previously uploaded sticker (must be WEBP).

send-location

Sends a pinned location.

FieldRequiredDescription
to✓ YesRecipient phone number.
latitude✓ YesDecimal latitude.
longitude✓ YesDecimal longitude.
nameNoLocation label.
addressNoLocation address.

send-contacts

Sends one or more vCard-style contact cards.

FieldRequiredDescription
to✓ YesRecipient phone number.
contactsJson✓ YesJSON array of contact objects in Cloud API contacts schema.

send-interactive-buttons

Sends a message with up to 3 quick-reply buttons.

FieldRequiredDescription
to✓ YesRecipient phone number.
bodyText✓ YesMain message body.
buttonsJson✓ YesJSON array of button definitions (id + title).
headerTextNoOptional header text.
footerTextNoOptional footer text.

send-interactive-list

Sends a message with a tappable option list.

FieldRequiredDescription
to✓ YesRecipient phone number.
bodyText✓ YesMain message body.
buttonText✓ YesLabel on the button that opens the list.
sectionsJson✓ YesJSON array of list sections/rows.
headerTextNoOptional header text.
footerTextNoOptional footer text.

send-reaction

Reacts to an existing message with an emoji.

FieldRequiredDescription
to✓ YesRecipient phone number (conversation the message belongs to).
messageId✓ YesWhatsApp message ID being reacted to.
emoji✓ YesSingle emoji character. Send an empty string to remove a reaction.

send-template

Sends a pre-approved message template. Identical call to template/send.

FieldRequiredDescription
to✓ YesRecipient phone number.
templateName✓ YesApproved template name.
languageCode✓ YesTemplate language/locale code (e.g. en_US).
componentsJsonNoJSON array of template component parameters (header/body/button variables).

send-and-wait

Sends a message and waits for a reply (human-in-the-loop). Not yet implemented — see Roadmap.

FieldRequiredDescription
to✓ YesRecipient phone number.
text✓ YesMessage body.
timeoutSecondsNoHow long to wait for a reply before timing out. Default 300.

mark-as-read

Marks an inbound message as read (blue ticks).

FieldRequiredDescription
messageId✓ YesWhatsApp message ID to mark as read.

send-typing-indicator

Shows the "typing..." indicator to the recipient.

FieldRequiredDescription
to✓ YesRecipient phone number.
message/send-and-wait is not implemented yet: the operation is routed by the executor but the underlying IWhatsAppMessageService.SendAndWaitAsync service method doesn't exist yet. Calling it returns a not_implemented error. See Roadmap.
All message sends share the same output shape: messageSent, messageId, phoneNumberId, to, status, errorCode, errorMessage, payload (the raw Graph API response). See Input & Output.