---
title: "Connected Account Status Updated"
method: POST
path: "connected_account.status_updated"
---

# Connected Account Status Updated

`POST connected_account.status_updated` (webhook)

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.

## Payload

- ConnectedAccountStatusUpdatedEvent — Payload delivered for the connected_account.status_updated webhook event.
  - `spec_version` string, required — The webhook specification version
  - `id` string, required — Unique identifier for the webhook event (must be prefixed with "evt_")
  - `type` 'connected_account.status_updated', required — The event type
  - `occurred_at` string, date-time, required — When the event occurred (ISO 8601 format)
  - `environment_id` string, required — The environment ID where the event occurred
  - `object` 'ConnectedAccount', required — The type of object that triggered the webhook
  - `data` ConnectedAccountStatusUpdatedEventData, required — The connected account whose status changed, including its previous status.
    - `id` string, required — Unique identifier of the connected account (prefixed with "ca_")
    - `identifier` string, required — The end-user identifier the connected account belongs to
    - `connection_id` string, required — Identifier of the connection (prefixed with "conn_")
    - `connection_name` string — The connection's key_id. Omitted when it cannot be resolved.
    - `provider` string, required — The provider of the connected account
    - `authorization_type` 'OAUTH' | 'API_KEY' | 'BASIC_AUTH' | 'BEARER_TOKEN' | 'CUSTOM' | 'BASIC' | 'OAUTH_M2M' | 'TRELLO_OAUTH1' | 'GOOGLE_DWD' | 'TRUSTED_IDP' | 'SMART_FHIR' | 'NO_AUTH', required — The authorization type of the connected account
    - `status` 'ACTIVE' | 'EXPIRED' | 'PENDING_AUTH' | 'PENDING_VERIFICATION' | 'DISCONNECTED', required — The new status of the connected account
    - `old_status` 'ACTIVE' | 'EXPIRED' | 'PENDING_AUTH' | 'PENDING_VERIFICATION' | 'DISCONNECTED', required — The previous status of the connected account

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.net/scalekit/apis/scalekit-api-reference.md) · [All operations](https://skmtc.net/scalekit/apis/scalekit-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalekit/scalekit-api-reference/versions/a40d5d4650e5/schema)
