Dedicated field in the webhook payload for intentional/unintentional disconnections.
Request for a dedicated field (e.g., intentional or disconnectionType) in the webhook payload to indicate whether the disconnection was intentional or unintentional.
Right now we have to parse the string in the “reason” field, which might change.
Log in to comment and vote
Comments1
Miquel Palet López
Jul 13
Good news, this is already supported!
The account.disconnected webhook already includes a dedicated, structured field account.disconnectionType with enum values intentional (the user clicked disconnect) or unintentional (token expired or revoked). Branch on that field instead of parsing the free-text reason string, which remains available as a separate human-readable note.
Thanks for the request!