Event triggered when the connection status of your WhatsApp session changes.
Webhook Event: session.status
Triggered when the connection status of your WhatsApp session changes (e.g., connected, disconnected, need_scan). The payload includes the new status and session ID.
See the code example below for the typical payload structure.
Code Examples
{
"event": "session.status",
"timestamp": 1633456789,
"data": {
"status": "connected", // or "disconnected", "need_scan"
"session_id": "session-id-123"
}
}