# List Lead Lists Beta

> Lead lists of the workspace.

> Documentation index: https://www.foxreach.io/docs/llms.txt lists every page of these docs. Each page is also served as Markdown: add `.md` to its URL.

`GET` https://api.foxreach.io/api/v1/lead-lists

> **Note:** **Beta.** This endpoint is new and may change.

Requires an API key with the `read` scope.

A lead list is a lead tag: the same rows as [Tags](https://www.foxreach.io/docs/api-reference/tags/list-tags) with `type=lead`, so a list made here appears in `/tags` and in the app. Lead Finder saved lists are a different thing. To read the leads of a list, use [List Leads](https://www.foxreach.io/docs/api-reference/leads/list-leads) with `tags=<list name>`.

## Query Parameters

- `search` string query: Part of the list name.
- `counts` boolean query default `false`: Add `leadCount` to each list on the page. Off by default because counting a large list reads every lead on it.
- `page` integer query default `1`: Page number.
- `pageSize` integer query default `50`: Results per page, 1 to 100.

## Response

- `data` array

  Lead list object:

  - `id` string: The list id, which is also the lead tag id.
  - `name` string: Lowercased name.
  - `color` string: `#RRGGBB`.
  - `createdAt` string: ISO 8601 timestamp.
  - `leadCount` integer: Only with `counts=true` on the list call.

**Request example**

```bash cURL
curl "https://api.foxreach.io/api/v1/lead-lists?counts=true" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
lists = client.lead_lists.list(counts=True)
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const lists = await client.leadLists.list({ counts: true });
```

**Response example**

```json
{
  "data": [
    { "id": "tag_abc123", "name": "warm", "color": "#6B7280", "createdAt": "2026-12-04T09:00:00+00:00", "leadCount": 120 }
  ],
  "meta": { "page": 1, "pageSize": 50, "total": 1 }
}
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |

## Rate Limit

- **300 requests per minute, shared by every `read` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`read`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
