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",
"sessionId": "YOUR_SESSION_API_KEY",
"data": {
"status": "connected", // or "disconnected", "need_scan"
}
}