Skip to main content
A Domain is an account’s claim to a hostname and its app assignment. Publish the returned ownership TXT and routing DNS records. Verification and certificate provisioning run automatically; unverified claims expire after 48 hours. Only verified domains with active hostname and certificate status resolve through the Apps API. An unverified claim does not reserve a hostname globally. Transferring ownership requires a fresh TXT proof and an explicit replacement request. Removing a domain stops app resolution immediately while Cloudflare cleanup finishes in the background.

Endpoints

Attributes

string
required
Domain ID, prefixed dom_.
string
required
ID of the account claiming or owning this domain, prefixed biz_.
string
required
ID of the app assigned to this domain, prefixed app_.
string | null
required
Cloudflare’s latest certificate issuance status.
string
required
When the domain claim was created, as an ISO 8601 timestamp.
object[]
required
DNS records to publish: TXT for ownership, A/AAAA for root domains through Whop’s Apex Proxying IPs, and CNAME for subdomains.

Properties

string
required
Full hostname where the record must be published.
string
required
DNS record type.Available options: TXT, CNAME, A, AAAA
string
required
DNS record content.
string
required
Result of the most recent DNS routing check. Ownership is verified separately.Available options: pending, valid, invalid, unknown
string
required
Normalized hostname, such as checkout.example.com.
string | null
required
Cloudflare’s latest hostname activation status.
object[]
required
Setup issues to address before the domain can serve traffic.

Properties

string
required
The source of the setup issue.
string
required
What needs attention before the domain can serve the website.
string | null
required
When DNS and provider state were last checked, as an ISO 8601 timestamp.
object
required
Custom string keys and values attached to this domain.
string
required
Domain lifecycle. Only active domains resolve to their app.Available options: pending_verification, provisioning, active, action_required, deleting, removed
string
required
When the domain was last updated, as an ISO 8601 timestamp.
string | null
required
When an unverified claim is automatically deleted, 48 hours after creation, as an ISO 8601 timestamp.
string | null
required
When Whop verified the ownership TXT record, as an ISO 8601 timestamp.
Domain