---
title: "List a LinkedIn connection's ad accounts"
method: GET
path: "/v1/integrations/accounts/{account_id}/linkedin/ad-accounts"
tags: ["integrations"]
---

# List a LinkedIn connection's ad accounts

`GET /v1/integrations/accounts/{account_id}/linkedin/ad-accounts`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/integrations/accounts/{account_id}/linkedin/ad-accounts`
- Auth: HTTP bearer

Every ad account the LinkedIn connection discovered, which are switched on, and the default. Reads the connection's stored discovery rather than calling LinkedIn, so opening the picker costs nothing against LinkedIn's daily limits. Tenant- AND owner-scoped: a foreign, unknown, non-LinkedIn or not-visible account id 404s.

## Path parameters

- `account_id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Response `200`

Successful Response

- LinkedInAdAccountsResponse: Every ad account a LinkedIn connection discovered, which are switched on, and the default.
  - `ad_accounts` LinkedInAdAccountSummary[]
    - `id` string, required
    - `name` string, required
    - `currency` string, required
    - `status` string, required
    - `serving_statuses` string[]
    - `serving_holds` string[]
    - `reference` string, nullable
    - `roles` string[]
    - `test` boolean
    - `is_active` boolean
    - `can_write` boolean
    - `edits_approved` boolean
    - `enabled` boolean
  - `selected_ad_account_id` string, nullable
  - `enabled_ad_account_ids` string[]

## Other responses

- `422`: Validation Error

---

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