Skip to main content
GET
Connected X accounts API, health & write readiness
Free. This endpoint does not consume credits.
List X accounts connected to the authenticated Xquik account. Read each local ID, username, and health before a write. It does not search public Twitter accounts. Use Search Users for public profiles.
Check accounts[].health before every write. Use only a ready connection.

Common uses

Scope, ordering & pagination

The response contains only connections owned by the authenticated Xquik account. Accounts are ordered by createdAt from earliest to latest. Equal timestamps use the connection ID as a stable tiebreaker. Send limit to enable cursor pagination. The default is 50. The maximum is 100. Pass nextCursor unchanged as cursor while hasMore is true. The best-practice contract paginates by default. Send this header:
That contract returns has_more and next_cursor. The examples below show the default v1 camelCase fields. Legacy calls without limit or cursor return up to 10,000 connections. This keeps existing clients working. Larger lists receive cursor fields. New integrations should always paginate. An account without connections receives {"accounts": [], "hasMore": false} when pagination is active.

Request

Headers

string
Xquik API key. Generate one from the dashboard.
string
OAuth bearer token using Bearer YOUR_TOKEN.

Query parameters

integer
default:"50"
Page size from 1 through 100. Larger values are capped at 100.
string
Opaque nextCursor from the previous page. Do not decode or change it.

Read every page

Response

object[]
required
Connected X accounts. Empty when no connection exists.
boolean
true when another cursor page exists. Present on paginated responses.
string
Opaque cursor for the next page. Present only when another page exists.
string
required
Xquik connection ID. Use it as accountId for write endpoints.
string
required
Connected X username without @.
string
required
Stable X user ID. This is not the Xquik connection ID.
string
required
Stored connection status. Read health before writes.
string
required
Current write readiness. See Account health.
string
ISO 8601 session acquisition time. Omitted before login.
string
required
ISO 8601 connection creation time.
string
required
ISO 8601 time when the connection last changed.

Choose the correct identifier

Do not send xUserId where a write endpoint requires accountId.

Account health

The status field alone is insufficient. Gate writes on health. Recovery details. needsReauth covers credentials, TOTP, email verification, passkeys, and other security challenges. Use reauth after resolving X-side prompts. locked can require account-side verification. suspended stays blocked until X restores the account. recovering reconnects on the next use. temporaryIssue stays paused during a transient cooldown. Use Bulk Retry only for eligible temporary failures. It cannot fix credentials, locks, or suspensions.

Errors

400 Invalid input

The cursor or limit is invalid. Restart without a cursor or send a valid limit.

401 Unauthenticated

Send a valid Xquik API key or OAuth bearer token.

429 Rate limited

Wait for Retry-After, then request the same page again.