Skip to main content

Webhooks

📡 Webhook Events​

Your server will receive webhook events when certain WhatsApp actions happen.
Each event includes a structured payload with the event, instance, sender, apikey, data, and date_time.

🔔 Events List​

EventDescription
qrcode.updatedSends the QR code in base64 format for scanning
connection.updateInforms the status of the WhatsApp connection
messages.setSends a list of all messages loaded in WhatsApp. This event occurs only once
messages.upsertNotifies when a message is received
messages.updateInforms when a message is updated
messages.deleteInforms when a message is deleted
send.messageNotifies when a message is sent
contacts.setPerforms the initial loading of all contacts. This event occurs only once
contacts.upsertReloads all contacts with additional information. This event occurs only once
contacts.updateInforms when a contact is updated
presence.updateInforms if the user is online, performing an action such as typing or recording, and their last seen status: ‘unavailable’, ‘available’, ‘typing’, ‘recording’, ‘paused’
chats.setSends a list of all loaded chats
chats.updateInforms when a chat is updated
chats.upsertSends any new chat information
chats.deleteNotifies when a chat is deleted
groups.upsertNotifies when a group is created
groups.updateNotifies when a group has its information updated
group.participants.updateNotifies when an action occurs involving a participant: ‘add’, ‘remove’, ‘promote’, ‘demote’

📦 Example Webhook Payload​

{
"event": "chats.update",
"instance": "EEVDQRUIAHCLXBFO",
"data": [],
"date_time": "2025-06-09T04:06:38.538Z",
"sender": "[email protected]",
"apikey": "2A3FAE85-BB80-4BD8-AB44-5000729B4DB3"
}