Verify a custom domain
Re-checks the ownership TXT record, edge readiness, and whether an HTTPS request to the hostname reaches this Cactal domain, then returns the updated status. A customer CDN or reverse proxy in front is supported when it forwards the verification request to Cactal. failureMessage distinguishes a missing ownership record, an unreachable hostname, and a hostname served somewhere else. DNS propagation can take minutes to hours, so this endpoint is safe to poll; Cactal also re-checks pending domains automatically (every minute for the first 2 hours, every 5 minutes for the first day, then every 15 minutes). The first custom domain to become active is promoted to primary automatically.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
11Response
The domain with its freshly checked status. When not yet active, failureMessage explains whether ownership, reachability, routing, or edge readiness needs attention.
Unique domain id.
Fully-qualified lowercase hostname, e.g. blog.example.com.
pending_dns: waiting for the required DNS records; pending_verification: DNS found, waiting for the edge host to become ready; active: serving traffic; failed: verification failed (see failureMessage); removing: being deregistered from the edge; suspended: disabled by Cactal trust & safety. Platform subdomains are always active.
pending_dns, pending_verification, active, failed, removing, suspended Every website automatically gets one platform_subdomain; custom domains are added through this API.
platform_subdomain, custom Whether this is the canonical custom domain that published traffic redirects to. Always false for platform subdomains.
DNS records the domain owner must create for verification to succeed. Empty for platform subdomains.
What the most recent verification check found wrong, including whether ownership is missing, the hostname is unreachable, or traffic reaches a service other than Cactal. null when nothing is wrong.
When DNS and edge status were last checked. null before the first check.
When the domain record was created.