account.disconnected
Fired when a PMS or OTA account is disconnected — by the user, admin, or due to expired credentials.
Payload
{
"event": "account.disconnected",
"timestamp": "2026-04-04T18:00:00Z",
"data": {
"provider": "hostaway",
"accountId": "acc_uuid",
"reason": "user_initiated"
}
}Handler Example
if (event === 'account.disconnected') {
console.log('Disconnected:', data.provider, 'reason:', data.reason)
// Clean up cached data, notify admin
}Tip: Always return a 200 status code to acknowledge receipt. Failed deliveries are retried 3 times with exponential backoff.Learn more about webhook reliability →
AI