---
title: "Create email domain"
method: POST
path: "/email-domains"
tags: ["email-domain-controller"]
---

# Create email domain

`POST /email-domains`

Creates a new email domain entry. Only accessible to users with -laminar.run email domains.

## Request body

- CreateEmailDomainRequest — Request to create a new email domain
  - `domain` string, required — The email domain name
  - `isActive` boolean, required — Whether the domain is active

## Response `201`

Email domain created successfully

## Other responses

- `400` — Invalid request or domain already exists
- `403` — Access denied - user email must end with -laminar.run

---

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