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

# List connected LinkedIn accounts

`GET /v1/accounts`

## Request

- Base URL: `https://api.curviate.com`
- URL: `https://api.curviate.com/v1/accounts`
- Auth: HTTP bearer

List the tenant's connected (non-archived) LinkedIn accounts, cursor-paginated. Use `limit` (1-250, default 50) and `cursor` (from a prior page's `cursor` field) to page; `cursor` is null on the last page. Filter by `external_id` for one end user's accounts.

## Query parameters

- `limit` integer
- `cursor` string
- `external_id` string

## Response `200`

A page of connected accounts plus the next-page cursor (null when exhausted).

- object
  - `object` 'account_list': Response type discriminator.
  - `items` object[]
    - `account_id` string: Curviate account id (acc_...).
    - `connection_location` object: Where LinkedIn sees this account connecting from. country: the configured country (ISO 3166-1 alpha-2), the one the account is set to use. current_country: the country of the connection in use right now; it differs from country only after a fallback, which can happen only when strict is false. mode: auto (a managed connection in country) or custom (your own proxy). strict: true when the account never connects from another country, null when unknown. Each field is null until known; an account connected through ip or your own proxy may show null until the next background refresh. Change it with PATCH /v1/accounts/{account_id} (country), or by reconnecting with country.
      - `country` string, nullable: Configured country (ISO 3166-1 alpha-2).
      - `current_country` string, nullable: Country of the connection in use right now.
      - `mode` 'auto' | 'custom' | 'null', nullable: auto: managed connection. custom: your own proxy.
      - `strict` boolean, nullable: true: never connects from another country.
    - `status` 'active' | 'reconnect_needed' | 'restricted' | 'connecting' | 'disconnected': Stable status whitelist.
    - `auth_method` 'credentials' | 'cookie' | 'hosted'
    - `full_name` string, nullable
    - `headline` string, nullable
    - `seat_id` string, nullable: The seat this account occupies.
    - `connected_at` string, nullable: ISO-8601 UTC connection timestamp.
    - `requested_products` string[], nullable: The connection scope this account was last connected with (e.g. ["classic","company","sales_navigator","recruiter"]). A connect asks for every product and LinkedIn activates the ones the account actually has, so this is what was ASKED for, narrowed only by an explicit linkedin_premium on that connect. A linkedin_premium narrowing is not remembered between connects, so this shows what the LAST connect asked for and a reconnect that omits the field widens it again. Null for accounts connected before this was recorded; not attachment truth for Company Pages.
    - `external_id` string, nullable: Your own id for this account's end user, as set on connect or PATCH. Null when none. Not unique.
    - `metadata` object, nullable: Your own flat string map for this account, as last set by PATCH. Null when none.
    - `substrate_created_at` string, nullable: ISO-8601 UTC creation timestamp of the underlying LinkedIn account, distinct from connected_at. Null until the first background enrichment lands.
  - `cursor` string, nullable: Next-page cursor; null on the last page.
  - `safety_warning` SafetyWarning: Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
    - `row` string, nullable, required: The budget row that breached, for example profile_views or pending_invites. Null when the breach is not about a row: an activity_window warning on an action that spends no budget of its own (editing a message, dismissing a notification, a Recruiter or Sales Navigator admin action) is still governed by the hours the account works in. Read hint.parameter for what to change; whenever this is null it names posture, because the activity window edges are set per action type and this action has none, so the levers that reach it are the account timezone and posture.
    - `reset_at` string, nullable, required: The instant the refusal lifts: the window roll on a ceiling refusal, the next window open on an activity-window one. Null in the two cases no clock frees, the pending_invites gauge and InMail credits (row inmail).
    - `hint` object, required
      - `parameter` string, required: The settable parameter on PATCH /v1/{account_id}/safety-policy.
      - `message` string, required: What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text.
    - `reason` 'ceiling' | 'activity_window', required: Which rule was crossed. ceiling means the row's configured limit is spent; activity_window means the account is outside the hours it works in, which is a different fact with a different remedy. hint.parameter names the right setting for each.
    - `blocked` boolean, required: Always false here. True on the BUDGET_EXHAUSTED refusal carrying the same payload.

## Other responses

- `400`: limit out of range (1-250) or malformed cursor.
- `401`: Missing or invalid API key.
- `429`: Rate limited, slow down and retry after the hinted delay.
- `500`: Internal error.
- `503`: Service unavailable.
- `504`: Gateway timeout.

---

[API](https://skmtc.dev/curviate/apis/curviate-api.md) · [All operations](https://skmtc.dev/curviate/apis/curviate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/curviate/apis/curviate-api/revisions/eab848801d95?raw)
