{
"eventId": "evt_9012345678901234",
"instanceId": "ins_ABCdefGHIjk",
"receivedAt": "2025-05-19T00:51:44.816Z",
"eventType": "logged_out",
"eventData": {
"reason": "user_logged_out"
}
}Session
Logged out event
System event emitted when the user is logged out. This event is guaranteed to be published under all logout circumstances: WhatsApp server-side logout (e.g. 401 on connect), API logout (POST /session/logout, reason api_logout), and instance deletion (DELETE /instances/{id}, reason instance_deleted). This is a system event — it is always delivered regardless of event filter configuration and cannot be opted out of.
WEBHOOK
logged_out
{
"eventId": "evt_9012345678901234",
"instanceId": "ins_ABCdefGHIjk",
"receivedAt": "2025-05-19T00:51:44.816Z",
"eventType": "logged_out",
"eventData": {
"reason": "user_logged_out"
}
}Body
application/json
Unique event identifier
The ID of the WhatsApp instance that generated the event
The timestamp when the event was received
The type of event
Available options:
logged_out Show child attributes
Show child attributes
Response
200
Return a 200 status to indicate that the data was received successfully
⌘I