Skip to Content
GuidesAPI Reference
Domains

Domains

Custom domains let you brand your short links with your own domain (e.g. go.mycompany.com). Each domain goes through a DNS verification flow before links can be created on it.

The Domain Object

{ "id": "dom_abc123", "domain": "go.mycompany.com", "verified": true, "verifiedAt": "2024-06-02T12:00:00.000Z", "createdAt": "2024-06-01T10:00:00.000Z", "status": "ACTIVE", "lastCheckedAt": "2024-06-15T08:00:00.000Z", "failedChecks": 0, "activeLinks": 127, "ownershipVerified": true, "verificationToken": null, "dnsProvider": "CLOUDFLARE" }

Fields

FieldTypeDescription
idstringUnique identifier for the domain
domainstringThe domain name, e.g. go.mycompany.com
verifiedbooleanWhether DNS routing is confirmed active
verifiedAtstring | nullISO 8601 timestamp when DNS was verified
createdAtstringISO 8601 timestamp
statusstringSee Domain Status below
lastCheckedAtstring | nullISO 8601 timestamp of the last health check
failedChecksnumberConsecutive failed DNS health checks
activeLinksnumberNumber of active links using this domain
ownershipVerifiedbooleanWhether the TXT ownership record was confirmed
verificationTokenstring | nullToken for the TXT record — present until ownership is verified
dnsProviderstring | nullThe DNS provider, e.g. CLOUDFLARE, ROUTE53

Domain Status

StatusDescription
PENDING_OWNERSHIPWaiting for the TXT ownership record to be added
PENDING_CLOUDFLAREOwnership verified; registering with Brevr’s edge network
PENDING_DNSEdge registered; waiting for CNAME/ALIAS to point to Brevr
ACTIVEFully verified and routing traffic
DEGRADEDPreviously active but DNS health checks are failing
Last updated on