# Create Lead List Beta

> Create a lead list.

> 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.

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

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

Requires an API key with the `write` scope.

Creates a lead tag. The name is lowercased, like every lead tag, and must be unique.

## Request Body

- `name` string body required: 1 to 100 characters. Surrounding spaces are removed.
- `color` string body: `#RRGGBB`. Default `#6B7280`.

**Request example**

```bash cURL
curl -X POST "https://api.foxreach.io/api/v1/lead-lists" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "warm", "color": "#22AA66"}'
```

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

client = FoxReach(api_key="otr_your_key")
item = client.lead_lists.create("warm", color="#22AA66")
```

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

const client = new FoxReach({ apiKey: "otr_your_key" });
const item = await client.leadLists.create({ name: "warm", color: "#22AA66" });
```

**Response example**

```json
{
  "data": {
    "id": "tag_abc123",
    "name": "warm",
    "color": "#6B7280",
    "createdAt": "2026-12-04T09:00:00+00:00"
  }
}
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `write` |
| `409` | A lead list with that name already exists |
| `422` | Invalid name or color |

## Rate Limit

- **120 requests per minute, shared by every `write` 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` (`write`).
- 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).
