---
title: "Create a new domain"
method: POST
path: "/domains"
tags: ["Domains"]
---

# Create a new domain

`POST /domains`

Add a new domain to your account.

## Request body

- object
  - `name` string, required — Domain name.

## Response `200`

OK

- object
  - `name` string
  - `valid` integer

## Other responses

- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/ecomail/apis/ecomail-api.md) · [All operations](https://skmtc.dev/ecomail/apis/ecomail-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ecomail/ecomail-api/revisions/31b5789931fe/schema)
