---
title: "Read Organization Link Queue"
method: GET
path: "/admin/organizations/link-queue"
tags: ["admin", "organizations"]
---

# Read Organization Link Queue

`GET /admin/organizations/link-queue`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/organizations/link-queue`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Organizations the matcher could not finish, most actionable first.

Status is recomputed by running the matcher in dry-run mode, so this and the scheduled
flow can never disagree about what "conflicting" means.

Sorting happens here rather than in the client because the response is paged: sorting
one page of 50 out of several hundred would order only what you can already see.

``activity`` narrows to one product or widens to everything. It defaults to organizations
live on either: nobody needs a dormant account linked, and they are most of what makes
the queue long.

## Query parameters

- `status` string, nullable
- `search` string, nullable
- `sort` string
- `dir` string
- `activity` string
- `limit` integer
- `page` integer

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Response `200`

Successful Response

- OrganizationLinkQueue
  - `items` OrganizationLinkState[]
    - `organization_id` string, required
    - `name` string, required
    - `domains` string[]
    - `ops_owner_user_id` string, nullable
    - `ops_owner_label` string, nullable
    - `sync_locked_sources` string[]
    - `status` 'conflicting' | 'contested' | 'unmatchable' | 'unlinked' | 'linked', required: Why an organization is in the queue. Ordered by how actionable it is.
    - `on_agent_platform` boolean
    - `on_ask_jenny` boolean
    - `is_active` boolean
    - `links` object
  - `total` integer
  - `counts` object

## Other responses

- `422`: Validation Error

---

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