By enabling the “Webhook by Event” option, you will receive a webhook with a specific URL for each event.

Example: https://example.com/webhook/qrcode-updated (QR Code update event).

Below is a list of endpoints for each event:

WhatsApp EventURL PathDescription
QRCODE_UPDATED/qrcode-updatedSends the base64 of the qrcode
CONNECTION_UPDATE/connection-updateReports the status of the connection with WhatsApp when updated
MESSAGES_UPSERT/messages-upsertNotifies when a message is received
MESSAGES_UPDATE/messages-updateInforms when a message is updated
MESSAGES_DELETE/messages-deleteInforms when a message is deleted
SEND_MESSAGE/send-messageInforms when a message is sent
CONTACTS_UPSERT/contacts-upsertReloads all contacts with additional information. This event only occurs once
CONTACTS_UPDATE/contacts-updateInforms when contact is updated
PRESENCE_UPDATE/presence-updateInforms whether the user is online, whether he is performing any action such as writing or recording and his last seen: ‘unavailable’, ‘available’, ‘composing’, ‘recording’, ‘paused’
CHATS_UPDATE/chats-updateInforms when the chat is updated
CHATS_UPSERT/chats-upsertSend any new chat information
CHATS_DELETE/chats-deleteNotifies when a chat is deleted
GROUPS_UPSERT/groups-upsertNotify when a group is created
GROUPS_UPDATE/groups-updateNotifies you when a group has its information updated
GROUP_PARTICIPANTS_UPDATE/group-participants-updateNotifies when an action occurs involving a participant: ‘add’, ‘remove’, ‘promote’, ‘demote’
LABELS_EDIT/labels-editNotifies you when a label is created, edited or removed
LABELS_ASSOCIATION/labels-associationNotifies when a label is assigned or unassigned to a conversation
CALL/callNotifies you when a call is received