Skip to Content
GuidesAPI Reference
DomainsAdd Domain
POST/api/v1/domains

Add a domain

Registers a new custom domain in your workspace and returns the TXT record you must add to your DNS to prove ownership. The domain goes through a multi-step verification flow before links can use it.

Authorization
Authorizationstringheaderrequired

Bearer token. Format: Bearer YOUR_API_KEY

Body
domainstringbodyrequired

The domain to add, e.g. go.mycompany.com. Subdomains are supported. Protocol prefix (https://) is stripped automatically.

dnsProviderstringbodyoptional

Your DNS provider. Optional but enables provider-specific setup instructions in the dashboard. Supported values: CLOUDFLARE, ROUTE53, GODADDY, NAMECHEAP, GOOGLE_DOMAINS, HOVER, GANDI, PORKBUN, DNSIMPLE, NS1, NETLIFY, AZURE, CONSTELLIX, DNS_MADE_EASY, VERCEL, EXTERNAL.

Last updated on