---
title: "List connected accounts"
method: GET
path: "/connected-accounts"
tags: ["Connected Accounts"]
---

# List connected accounts

`GET /connected-accounts`

List the calling user's connected accounts for the organization.

## Query parameters

- `organizationId` string — Organization to list accounts for. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

## Response `200`

OK

- object
  - `accounts` object[], required
    - `provider` string, required — Provider identifier.
    - `externalName` string, nullable, required — Display name from the provider.
    - `externalLogin` string, nullable, required — Username or login from the provider.
    - `connectedAt` string, date-time, nullable, required — When the account was connected.
    - `authMode` 'oauth' | 'pat', nullable, required — Auth mode used.
    - `needsReconnect` boolean, required — Whether the token is expired and a reconnect is required.

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) · [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sazabi/sazabi-public-api/revisions/1d12b71c735a/schema)
