# POST /v1/sites

Create a site

Register a new site (201). If you have the manage permission, adding your deleted site again restores it with the requested category (200). A conflict returns reason `domain_exists` for your live site, `domain_taken` for a domain reserved by another publisher, or `domain_archived` if you lack permission to restore your site. Requires scope `publisher:write` (API key or web session); not available in view-as. Rate limit tier: `write`.

- Required scope: `publisher:write`
- Rate limit: `write` — 20 requests per 60-second window per API key or web session

## Parameters

No parameters.

## Request body

```
{ category: "mainstream" | "adult" | "network"; domain: string }
```

## Response

```
{ category: "mainstream" | "adult" | "network"; created_at: string; deleted_at: string | null; domain: string; id: integer; notes: string | null; pending_category: "mainstream" | "adult" | "network" | null; pending_category_at: string | null; publisher_note: string | null; status: "pending" | "approved" | "rejected"; zones_count: integer }
```

## Errors

Rate-limited routes return `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds until the window ends); a 429 also carries `Retry-After`. The headers may be absent while the limiter is temporarily unavailable (requests are then let through).

| Status | Meaning |
|---|---|
| 401 | Missing, invalid or revoked API key. |
| 403 | The key lacks the required scope, or the operation is not allowed for this actor. |
| 429 | Rate limit exceeded; wait `Retry-After` seconds. |
| 400 | Default Response |
| 409 | Default Response |

HTML documentation: https://agimone.com/en/developers/api/#create-site
API 2026-10
