Webhook map
messagesreceived(messages.received)statusChanged(messages.statusChanged)
HTTP handler setup
app/api/webhook/route.ts
Events
Messages
Received
messages.received
Incoming WhatsApp messages from customers
Payload
contacts full type
contacts full type
messages full type
messages full type
Response data full type
Response data full type
webhookHooks example
Status Changed
messages.statusChanged
WhatsApp sent, delivered, read, failed, deleted, or error updates
Payload
statuses full type
statuses full type
errors full type
errors full type
Response data full type
Response data full type
webhookHooks example