WhatsApp · Schema

WhatsApp Message

Schema for outbound WhatsApp messages sent via the Cloud API POST /{phone-number-id}/messages endpoint. Covers all message types including text, media, location, contacts, interactive, template, and reaction messages.

Properties

Name Type Description
messaging_product string Must be 'whatsapp'
recipient_type string Recipient type, currently only 'individual' is supported
to string Recipient phone number in E.164 format without the leading +
type string Message type
context object
biz_opaque_callback_data string Arbitrary string for tracking, included in webhook delivery
text object
image object
video object
audio object
document object
sticker object
location object
contacts array Array of contact cards to send
interactive object
template object
reaction object
View JSON Schema on GitHub