---
title: "Create domain."
method: POST
path: "/project/v1/domains"
tags: ["domains"]
---

# Create domain.

`POST /project/v1/domains`

Add a new domain to the project.

## Query parameters

- `projectId` string, required

## Request body

- object
  - `domain` string, hostname, required — Domain name to add

## Response `201`

Default Response

- object
  - `data` object
    - `id` string
    - `domain` string
    - `status` string
    - `createdAt` string, date-time
    - `verified` boolean

## Changes

- **2026-01-13** `343ccfa7da7d` — 1 breaking
  - added the new required `query` request parameter `projectId`
- **2025-12-09** `9c0284025bec` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/unlayer/apis/unlayer-api/changes/project/v1/domains/post.md)

---

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