Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

connected_account.deleted

Triggered when a connected account is deleted

Delivery

Scalekit sends the event as a JSON POST to your webhook endpoint, signed in the webhook-id, webhook-timestamp and webhook-signature headers. Verify the signature before you act on it; see Listen for account events.

Payload

dataobject
The connected account the event is about.
Show 9 child attributes
connection_idstring
The connection's ID.
idstring
The connected account's ID.
identifierstring
Your app's ID for the user, the value passed when the account was created.
providerstring
The app, such as GMAIL.
statusstring (enum)
Current connected account status
ACTIVEEXPIREDPENDING_AUTHPENDING_VERIFICATIONDISCONNECTED
authorization_typestring (enum)
Authorization type of the connected account
OAUTHAPI_KEYBASIC_AUTHBEARER_TOKENCUSTOMBASICOAUTH_M2MTRELLO_OAUTH1GOOGLE_DWDTRUSTED_IDPSMART_FHIRNO_AUTH
connection_namestring
The connection's name, as shown in AgentKit > Connections. Omitted when it can't be resolved.
last_used_atstring
When the connected account was last used
token_expires_atstring
When the access token expires, if known
environment_idstring
The environment ID where the event occurred
idstring
Unique identifier for the webhook event (must be prefixed with "evt_")
objectstring (enum)
The type of object that triggered the webhook
ConnectedAccount
occurred_atstring
When the event occurred (ISO 8601 format)
spec_versionstring
The webhook specification version
typestring (enum)
The event type
connected_account.deleted
display_namestring
Human-readable display name for the event
organization_idstring
The organization ID (if applicable)