{
"workspace_id": "my-workspace",
"event_type": "whatsapp_account:disconnected",
"partner_id": "partner_12345",
"triggered_at": "2024-01-01T12:00:00.000Z",
"whatsapp_account_id": 67890,
"phone_number_e164": "+123456789",
"user_id": 98765,
"reason": "logged out from another device",
"details": "401: logged out from another device",
"disconnected_at": "2024-01-01T12:00:00.000Z"
}whatsapp_accounts
Account Disconnected
Triggered when a WhatsApp account is disconnected for a workspace user.
WEBHOOK
whatsapp_account:disconnected
{
"workspace_id": "my-workspace",
"event_type": "whatsapp_account:disconnected",
"partner_id": "partner_12345",
"triggered_at": "2024-01-01T12:00:00.000Z",
"whatsapp_account_id": 67890,
"phone_number_e164": "+123456789",
"user_id": 98765,
"reason": "logged out from another device",
"details": "401: logged out from another device",
"disconnected_at": "2024-01-01T12:00:00.000Z"
}Authorizations
Headers
Body
application/json
Webhook payload sent when a WhatsApp account is disconnected. It carries two fields the connected event does not.
Why the session ended. "logged out from Timelines" - the number was disconnected in Timelines. "logged out from another device" - the phone dropped the companion, through Linked devices or by enabling coexistence; this is not a ban. "banned" - WhatsApp locked the primary device. "other" - anything else.
Available options:
logged out from Timelines, logged out from another device, banned, other Example:
"logged out from another device"
Response
200
Receiver accepted the event

