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

# Create custom domain

`POST /domains`

Create a new custom domain for the authenticated user

## Request body

- ApiDomainReq
  - `name` string, required

## Response `201`

message

- object

## Other responses

- `400` — Bad Request

---

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