Domains
A domain is a host you route links through. Connect it, set two DNS records, and verification flips on its own.
/v1/domainsConnect a domain
Returns the two DNS records to set. Status starts at pending_dns and flips automatically — see below.
hoststringREQUIREDThe fully-qualified host, e.g. go.example.com.
/v1/domainsList domains
Every host with status and live link count. links tells you what a disconnect would break.
How verification flips
We poll DNS until both records resolve, then status becomes active — typically under a minute after propagation. This inbound DNS check is the only callback in the system today; outbound webhooks are roadmap, dated on their own page.
NO ACTION NEEDED AFTER THE RECORDS ARE SET — THE FLIP IS AUTOMATIC
/v1/domains/{id}Disconnect a domain
Refused with 409 domain_in_use while links still resolve on the host. Move or delete them first, or pass ?force=true and accept the breakage consciously.