Skip to main content
WEBHOOK
session.disconnected
{
  "id": "evt_1234567890",
  "event": "session.disconnected",
  "timestamp": "2023-11-07T05:31:56Z",
  "data": {
    "whatsappAccountId": "<string>",
    "reason": "<string>"
  },
  "organizationId": "<string>"
}

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as Bearer YOUR_API_KEY. API keys can be created from the dashboard.

Body

application/json
id
string
required

Unique event identifier

Example:

"evt_1234567890"

event
enum<string>
required

Event type

Available options:
session.disconnected
timestamp
string<date-time>
required

When the event occurred

data
object
required

Event-specific payload data

organizationId
string
required

Organization ID that triggered the event

Response

200

Webhook received successfully