APIConnected accounts
List connected accounts
List the calling user's connected accounts for the organization.
GET https://api.sazabi.com/v1/connected-accounts
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).
Length
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/connected-accounts"{ "accounts": [ { "connectionStatus": { "state": "connected", "reasonCode": "credentials_rejected", "checkedAt": "2019-08-24T14:15:22Z", "verification": "verified" }, "recovery": { "action": "reconnect", "canCheck": true, "canDisconnect": true, "target": { "kind": "integration", "resourceId": "string", "providerId": "string", "scope": { "kind": "user", "id": "string" } } }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "string", "externalName": "string", "externalLogin": "string", "externalEmail": "string", "connectedAt": "2019-08-24T14:15:22Z", "authMode": "oauth", "needsReconnect": true } ]}