A new message in a chat, the number's own included (is_sender): message_received.
Header Parameters
base64url(HMAC-SHA256(raw body, your webhook's signing secret)), the secret being the whsec_… shown in the console. Verify it over the raw bytes before parsing, and refuse the event when it does not match.
The event id, also event_id in the body: the same on every retry of the event. Deduplicate on it.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Example Requests
/WhatsappMessageReceivedWhatsApp: message failed Webhook
Gateway event. WhatsApp refused a message the number sent after first accepting it (`code`, e.g. 463: the number may not reach this person yet). Once per message.
WhatsApp: reaction Webhook
A reaction added or taken back (`message_reaction`); an empty `reaction` is a removal.