connected_account.token_refresh_succeeded
Triggered when token refresh succeeds
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 the event is about.
Show 9 child attributes
connection_idstringThe connection's ID.
idstringThe connected account's ID.
identifierstringYour app's ID for the user, the value passed when the account was created.
providerstringThe app, such as
GMAIL.statusstring (enum)Current connected account status
ACTIVEEXPIREDPENDING_AUTHPENDING_VERIFICATIONDISCONNECTEDauthorization_typestring (enum)Authorization type of the connected account
OAUTHAPI_KEYBASIC_AUTHBEARER_TOKENCUSTOMBASICOAUTH_M2MTRELLO_OAUTH1GOOGLE_DWDTRUSTED_IDPSMART_FHIRNO_AUTHconnection_namestringThe connection's name, as shown in AgentKit > Connections. Omitted when it can't be resolved.
last_used_atstringWhen the connected account was last used
token_expires_atstringWhen the access token expires, if known
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.token_refresh_succeededdisplay_namestringHuman-readable display name for the event
organization_idstringThe organization ID (if applicable)