# Create Warmup Tag

> Create a warmup pool tag.

Requires an API key with the `write` scope.

Warmup tags group accounts in the warmup pool. They do not change sending.

## Body Parameters

<ParamField body="name" type="string" required>Tag name. Must be unique in the workspace.</ParamField>
<ParamField body="color" type="string">Optional color, for example `#ff0000`.</ParamField>

## Response

Returns the tag with a `201` status code.

<ResponseField name="data" type="object">
  <Expandable title="data">
    <ResponseField name="id" type="string">Tag identifier.</ResponseField>
    <ResponseField name="name" type="string">Tag name.</ResponseField>
    <ResponseField name="color" type="string">Tag color.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
```bash cURL
curl -X POST "https://api.foxreach.io/api/v1/warmup/tags" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "Outbound", "color": "#ff0000"}'
```

```python Python SDK
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
tag = client.warmup.create_tag("Outbound", color="#ff0000")
```

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

const client = new FoxReach({ apiKey: "otr_your_key" });
const tag = await client.warmup.createTag({ name: "Outbound", color: "#ff0000" });
```
</RequestExample>

<ResponseExample>
```json
{
  "data": {"id": "tag_abc123", "name": "Outbound", "color": "#ff0000"}
}
```
</ResponseExample>

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `write` |
| `400` | `Tag name is required` |
| `409` | `A tag with that name already exists` |

## 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](/rate-limiting).
