Skip to main content
POST
Connect a custom domain to a site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-08-21

Body

application/json
siteId
string<uuid>
required
domain
string
required
Required string length: 1 - 253
Pattern: ^([a-z0-9]([a-z0-9-]*[a-z0-9])?\.)+[a-z]{2,}$

Response

Connect a custom domain to a site

object
enum<string>
required
Available options:
custom_domain
id
string<uuid>
required
domain
string
required
status
enum<string>
required
Available options:
pending,
active,
stale
is_pending
boolean
required
is_stale
boolean
required
dns_instructions
object
required