whatsapp_accounts

Triggered when WhatsApp account was disconnected.

postWebhookwhatsapp:account:disconnected

Payload

event_type'whatsapp:account:disconnected' required

Webhook event name

Example payload

{
  "event_type": "whatsapp:account:disconnected",
  "whatsapp_account": {
    "id": "123456789@s.whatsapp.net",
    "phone": "+123456789",
    "connected_on": "2024-01-08 10:35:18 +0200",
    "disconnected_on": "2024-01-08 10:35:18 +0200",
    "status": "active",
    "account_name": "Smith",
    "owner_name": "John Smith",
    "owner_email": "john-smith@example.com",
    "reason": "logged out from another device",
    "details": "401: logged out from another device"
  }
}

Response

Receiver accepted the event

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.