connected_account.status_updated
Triggered when a connected account's status changes between two states (for example PENDING_AUTH to ACTIVE, ACTIVE to EXPIRED, or any state to DISCONNECTED). Not triggered on account creation.
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
dataobjectThe connected account whose status changed, including its previous status.
Show 8 child attributes
authorization_typestring (enum)The authorization type of the connected account
OAUTHAPI_KEYBASIC_AUTHBEARER_TOKENCUSTOMBASICOAUTH_M2MTRELLO_OAUTH1GOOGLE_DWDTRUSTED_IDPSMART_FHIRNO_AUTHconnection_idstringThe connection's ID.
idstringThe connected account's ID.
identifierstringYour app's ID for the user, the value passed when the account was created.
old_statusstring (enum)The previous status of the connected account
ACTIVEEXPIREDPENDING_AUTHPENDING_VERIFICATIONDISCONNECTEDproviderstringThe app, such as
GMAIL.statusstring (enum)The new status of the connected account
ACTIVEEXPIREDPENDING_AUTHPENDING_VERIFICATIONDISCONNECTEDconnection_namestringThe connection's name, as shown in AgentKit > Connections. Omitted when it cannot be resolved.
environment_idstringThe environment ID where the event occurred
idstringUnique identifier for the webhook event (must be prefixed with "evt_")
objectstring (enum)The type of object that triggered the webhook
ConnectedAccountoccurred_atstringWhen the event occurred (ISO 8601 format)
spec_versionstringThe webhook specification version
typestring (enum)The event type
connected_account.status_updated