---
search:
  tags:
    - Routes and domains
    - POST
seo:
  description: >-
    Starts the proof for one exact hostname (no wildcards; lowercase, no
    trailing dot).… Reference for the POST /v1/domains endpoint in the
    Sproutboat Cloud API.
sidebar:
  label: Claim a custom domain
  badge: POST
title: Claim a custom domain
type: openapi-operation
---
Starts the proof for one exact hostname (no wildcards; lowercase, no trailing dot). The answer carries `txt`, the
DNS record to publish: name `_sproutboat-challenge.<host>`, type `TXT`, the given value. Then call
`POST /v1/domains/{host}/verify`. Claiming a host you already claimed returns the claim (200). A team holds at most 10
domains (429 `domain-limit`). Names under `sproutboat.app` and the platform's own hostnames cannot be claimed.
Once verified, add the hostname to an app's routes (`PATCH /v1/apps/{project}/routes`); a certificate is then issued
on first use.

`POST /v1/domains`
