A contact sent a message or tapped a button. While WhatsApp's AI agent holds the conversation (owner whatsapp_ai) a reply goes through only after it passes the conversation on (conversation.owner_changed).
data
- from_user_id string
The contact's business-scoped user id, when WhatsApp gave one.
- media_url string
app2email's stored copy of received media (GET /v1/{number}/media/{message_id}).
- name string
-
text, image, video, audio, document, sticker, location, contacts, reaction, button, interactive, order, request_welcome (the contact opened the chat), system, unsupported ...
- text string
- in_reply_to string
- conversation_url string
- timestamp string (date-time)
- context object
What it replies to or forwards.
5 fields
- from string
- id string
- forwarded boolean
- frequently_forwarded boolean
-
The ad or post a click-to-WhatsApp message came from.
- location object
- contacts object[]
Shared contact cards, as Meta sent them.
- reaction object
2 fields
- message_id string
- emoji string
Empty when the reaction was removed.
- interactive object
4 fields
- type string
button_reply, list_reply, nfm_reply ...
- id string
- title string
- description string
- flow object
A WhatsApp Flow's answer (interactive nfm_reply).
- order object
3 fields
- catalog_id string
- text string
- product_items object[]
- identity_key_hash string
The contact's identity key hash (the identity check is on): send it back as recipient_identity_key_hash.
-
Meta's object, unchanged.
Inside the envelope {id, type, created, number, test?, data}: envelope, headers, signature.