---
title: "Create a site"
method: POST
path: "/sites"
---

# Create a site

`POST /sites`

## Request

- Base URL: `https://sendinel.ai/api/v1`
- URL: `https://sendinel.ai/api/v1/sites`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://sendinel.ai/oauth/authorize`, token URL `https://sendinel.ai/oauth/token`)

## Request body

- Site
  - `id` string, uuid, required
  - `name` string, required
  - `slug` string, required
  - `from_name` string
  - `from_email` string, email, required
  - `sending_domain` string
  - `website_url` string, uri, nullable
  - `active` boolean

## Response `201`

Site created

---

[API](https://skmtc.dev/sendinel/apis/sendinel-api.md) · [All operations](https://skmtc.dev/sendinel/apis/sendinel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendinel/apis/sendinel-api/revisions/20b2c6d5616d?raw)
