---
title: "Claim a site"
method: POST
path: "/api/v1/sites"
tags: ["Sites"]
---

# Claim a site

`POST /api/v1/sites`

## Request

- Base URL: `https://session-replay.com`
- URL: `https://session-replay.com/api/v1/sites`
- Auth: HTTP bearer

Claims a domain for the caller's own team. Claiming a domain is a paid feature, so a team with no plan, or one already at its domain limit, is refused.

## Headers

- `Authorization` string

## Response `201`

site claimed

## Other responses

- `401`: unauthorized
- `422`: invalid, or the plan does not allow another domain

---

[API](https://skmtc.dev/session-replay/apis/session-replay-api.md) · [All operations](https://skmtc.dev/session-replay/apis/session-replay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/session-replay/apis/session-replay-api/revisions/120e5613bf95?raw)
