Webhooks
Webhook Events
All the events your webhook can receive, and which ones are on by default.
Choose which events each number sends to your webhook on the Developer API page. New webhooks start with Message and ReadReceipt.
Every event body has the event name in type and the details in event. The name is also in the X-Webhook-Event header.
All events
| Event | When it is sent |
|---|---|
Message | Someone sent your number a message (text, photo, voice note, file and more), or you sent one from the phone. |
ReadReceipt | A message was delivered or read (the grey and blue ticks). |
Presence | A contact you subscribed to came online or went offline. |
ChatPresence | Someone is typing or recording a voice note in a chat. |
GroupInfo | A group's name, description, settings or members changed. |
JoinedGroup | Your number was added to a group, or joined one. |
Picture | A contact or group changed or removed their profile photo. |
CallOffer | Someone is calling your number. Use Reject Call to decline it. |
CallOfferNotice | Another kind of incoming call notice from WhatsApp. |
Connected | Your number connected to WhatsApp. |
Disconnected | Your number lost its connection to WhatsApp. |
LoggedOut | Your number was logged out (for example from the phone). Scan a new QR code to use it again. |
PairSuccess | Pairing worked: the QR code was scanned or the phone code was typed. |
QR | A new QR code is ready to scan while pairing. |
QRTimeout | The QR code ran out of time before anyone scanned it. |
TemporaryBan | WhatsApp blocked your number for a while. Slow down your sending. |
The Message event is described field by field on Webhook: Message Received.