---
title: "POST /api/v1/custom-domains"
method: POST
path: "/api/v1/custom-domains"
tags: ["Custom Domains"]
---

# POST /api/v1/custom-domains

`POST /api/v1/custom-domains`

## Request

- Base URL: `https://app.distr.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://app.distr.sh/api/v1/custom-domains`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Register new custom domains for the caller's organization, or for a customer named in the request

## Request body

- ApiCreateCustomDomainsRequest
  - `customerOrganizationId` string, nullable
  - `domains` ApiCreateCustomDomainRequest[]
    - `domain` string
    - `domainType` string

## Response `200`

OK

- ApiCustomDomain[]
  - `createdAt` string, date-time
  - `customerOrganizationId` string, nullable
  - `domain` string
  - `domainType` string
  - `id` string
  - `organizationId` string
  - `verificationCheckedAt` string, date-time, nullable
  - `verificationError` string, nullable
  - `verified` boolean
  - `verifiedAt` string, date-time, nullable

---

[API](https://skmtc.dev/distr/apis/distr-api-reference.md) - [All operations](https://skmtc.dev/distr/apis/distr-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/distr/apis/distr-api-reference/revisions/7dcafe205f83?raw)
