---
title: "Create site"
method: POST
path: "/sites"
tags: ["Sites"]
---

# Create site

`POST /sites`

Create a site.

**Permissions:** Requires full account access (`*`).

**Returns:** A site object.

## Request body

- object
  - `name` string, required — The name of the website. Any string (up to 255 characters) is acceptable, and it doesn't have to match the website URL. Example: `Daffy's Website`
  - `sharing` 'none' | 'private' | 'public' — The sharing configuration. Supported values are `none`, `private` or `public`.
  - `share_password` string — When sharing is set to `private`, you must also send a password to access the site with (up to 255 characters). **Required if sharing is private.**
  - `timezone` string — The site's reporting timezone as a [TZ database name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (e.g. `America/New_York`). If omitted, the site inherits your account's default timezone.
  - `multi_domain` boolean — Set to `true` to allow this site to track multiple domains.
  - `multi_domain_option` 'combined' | 'separate' — How multi-domain data is grouped. Supported values are `combined` (report all domains together) or `separate` (report each domain individually). **Required if multi_domain is true.**

## Response `200`

Successful response

## Other responses

- `400` — Bad request. Returned for validation failures and other request problems. Send `Accept: application/json` to receive errors as JSON.
- `401` — Authentication failed — the API token is missing, malformed or invalid.

---

[API](https://skmtc.net/usefathom/apis/fathom-analytics-api.md) · [All operations](https://skmtc.net/usefathom/apis/fathom-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usefathom/fathom-analytics-api/revisions/50679caad756/schema)
