---
title: "Add domain"
method: POST
path: "/api/v1/site/domains"
tags: ["Site"]
---

# Add domain

`POST /api/v1/site/domains`

The method registers the domain sent in the body params for use in web tracking or widgets.<br>Only one domain can be registered per organization.

## Request body

- DomainCreationRequest — DomainCreationRequest
  - `domain` string, required — Domain name

## Response `200`

OK<br>Domain already exists

## Other responses

- `201` — Created<br>Domain created
- `400` — Bad request<br>Invalid domain name
- `404` — Not found

---

[API](https://skmtc.net/esputnik/apis/esputnik-com.md) · [All operations](https://skmtc.net/esputnik/apis/esputnik-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esputnik/esputnik-com/revisions/1c4afd7ba72a/schema)
