---
title: "Get X account connection status"
method: GET
path: "/api/v1/x/account-connection-attempts/{id}"
tags: ["X Accounts"]
---

# Get X account connection status

`GET /api/v1/x/account-connection-attempts/{id}`

Get X account connection status.

## Path parameters

- `id` string, required

## Response `200`

Current X account connection status

- union
  - object — The connection is still in progress.
    - `object` 'x_account_connection_attempt', required
    - `id` string, required
    - `status` 'pending', required
    - `pollAfterMs` integer, required
  - object — The account connected successfully.
    - `object` 'x_account_connection_attempt', required
    - `id` string, required
    - `status` 'success', required
  - object — The connection reached a final failure.
    - `object` 'x_account_connection_attempt', required
    - `id` string, required
    - `status` 'failed', required
    - `error` string, required
    - `reason` string
    - `retryable` boolean, required
  - object — Resumable account connection challenge. Submit the email code to finish the same connection attempt.
    - `object` 'x_account_connection_challenge', required
    - `id` string, required
    - `status` 'requires_email_code', required
    - `expiresAt` string, date-time, required
    - `message` string, required
    - `username` string, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.
- `default` — Unexpected error.

---

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