---
title: "Get a connect attempt"
method: GET
path: "/connected-accounts/connect/attempts/{attemptId}"
tags: ["Connected Accounts"]
---

# Get a connect attempt

`GET /connected-accounts/connect/attempts/{attemptId}`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/connected-accounts/connect/attempts/{attemptId}`
- Auth: none declared

Poll a browser connect attempt started with `connectedAccounts.beginConnect`. Visible only to the user who began it.

## Path parameters

- `attemptId` string, uuid, required: Connect attempt ID to poll.

## Query parameters

- `organizationId` string: Organization the attempt belongs to. 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
  - `status` 'pending' | 'completed' | 'failed' | 'expired', required: Attempt state. `expired` means the browser flow did not complete in time, including an identity-conflict transfer offer that lapsed undecided — begin a new connect.
  - `conflictPending` boolean: True while an identity-conflict transfer offer is awaiting the user's decision in the browser (the attempt stays pending until they choose).
  - `conflictDeclined` boolean: True when the user declined the identity-conflict transfer offer in the browser (the account stayed connected to the other Sazabi account). A `failed` + `identity_conflict` attempt without it had no offer to decline.
  - `errorCode` string, nullable, required: Reason code when status is `failed` (the shared OAuth callback vocabulary, e.g. vendor_denied, not_authorized).

## Changes

- **2026-09-29** `752040c39373`: 1 info
  - added the optional property `conflictDeclined` to the response with the `200` status

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/connected-accounts/connect/attempts/:attemptId/get.md)

---

[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.dev/sazabi/apis/sazabi-public-api/revisions/965b6230cf45?raw)
