---
title: "Create Domain"
method: POST
path: "/domains"
---

# Create Domain

`POST /domains`

This endpoint creates a new domain and associates it with the client.

## Request body

- object
  - `name` string, required — The name used to easily identify the domain. Allowed values are between 2 and 255 characters.
  - `status` string, required — The status of the domain. Allowed values are active and inactive.
  - `url` string, required — The URL (without schema) used by the domain.
  - `default_root_url` string — The default URL (schema required) to be used as a redirect when the root URL is visited.
  - `default_catchall_url` string — The default URL (schema required) to be used as a catchall redirect when an unknown URL is visited.

## Response `201`

201

- object
  - `data` object
    - `name` string
    - `url` string
    - `status` string
    - `default_root_url` unknown
    - `default_catchall_url` unknown
    - `scope` string
    - `id` integer

## Other responses

- `422` — 422

---

[API](https://skmtc.net/seebot/apis/seebotlink.md) · [All operations](https://skmtc.net/seebot/apis/seebotlink/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seebot/seebotlink/versions/2853c55f2fec/schema)
