Magidoc

AccountCustomDomain
Object

A customer-owned branded domain for tracked links and hosted pages

Fields

#

certificateStatus

Non-null

Cloudflare-reported SSL certificate status

cnameTarget

Non-null

CNAME target the customer points their hostname at (empty when provisioning isn't configured)

createdBy

Non-null

Id of user who created the custom domain

createdUtc

Non-null

Date/time the custom domain was created

dcvRecordsJson

JSON of any DNS/DCV records Cloudflare requires the customer to add

disabledUtc

When the domain was disabled (blocks future use; Cloudflare hostname retained so historical links still route to the safe page). Still billable while set and not released.

hostname

Non-null

The customer hostname, e.g. go.acme.com (lowercase, punycode)

hostnameValidationStatus

Non-null

Whether the customer CNAME points at our Cloudflare SaaS target (verified via DnsService)

id

ID !
Non-null

Unique custom domain id

isDefaultForLinks

Non-null

This domain is the account default for link tracking

isDefaultForPages

Non-null

This domain is the account default for hosted pages

lastCheckedUtc

When status was last checked

lastErrorCode

Machine-readable last error (e.g. caa_error, cname_missing)

lastErrorMessage

Human-readable last error detail

linkTrackingEnabled

Non-null

Domain serves link tracking (/l)

modifiedBy

Non-null

Id of user who last modified the custom domain

modifiedUtc

Non-null

Date/time the custom domain was last modified

pagesEnabled

Non-null

Domain serves hosted pages/forms (/p)

provisioningStatus

Non-null

Provisioning state machine (PendingDns, PendingSsl, Active, Failed)

releasedUtc

When the domain was released (Cloudflare hostname deleted; billing stops; historical links may no longer resolve)

routingStatus

Non-null

Whether edge routing to our origins is healthy

status

Non-null

Simplified status for display, derived from the granular fields

Usages

#

References

#

  • Field customDomains from Query