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

# Create Site

`POST /sites`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/sites`
- Auth: API key in header `X-Agent-Key`

Create (or return existing) site in the caller's ACTIVE org.

The active org comes from ``X-Org-Id`` (web) / ``org_id`` (MCP-CLI), same as
``list_sites`` — membership-validated, falling back to the default org. Brands
created while a team org is selected must land in that org, not the personal one.

## Query parameters

- `email` string, nullable
- `org_id` string, nullable

## Headers

- `X-Org-Id` string, nullable

## Request body

- CreateSiteRequest
  - `domain` string, required
  - `industry` string, nullable
  - `target_audience` string, nullable
  - `usp` string, nullable
  - `icp` string, nullable

## Response `200`

Successful Response

- SiteOut
  - `id` string, required
  - `domain` string, required
  - `legacy_brand_ids` string[]
  - `logo_url` string, nullable
  - `favicon_url` string, nullable
  - `already_exists` boolean
  - `org_id` string, nullable
  - `organization_name` string, nullable
  - `owner_user_id` string, nullable
  - `owner_email` string, nullable
  - `can_admin` boolean
  - `gsc_url` string, nullable
  - `synced_queries` integer
  - `wp_connected` boolean
  - `framer_connected` boolean
  - `gsc_connected` boolean
  - `gsc_status` string, nullable
  - `shopify_connected` boolean
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
