Create Domain
Adds a domain to your account with the capabilities you want.
Pass registration to buy the domain through Whop; it’s the default when you pass no capability. Pay its amount_due at purchase_url, or pass registration.payment_method_id to charge a saved card. Whop then registers it, runs its DNS, and renews it every year while auto_renew is on.
Pass registration.auth_code to transfer in a domain you own at another registrar. The transfer starts once its amount_due is paid, or at once when amount_due is null. While registration.phase is transferring, its issues say what the transfer needs from you.
Pass verification to connect a domain you registered elsewhere: its issues list the TXT and routing records to publish. Pass website with an app_id to serve that app on the domain.
To change a domain you already have, update it instead. Adding a domain this account deleted revives it under its original ID.
Authorizations
An account-scoped user token or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Pins the request to a dated API version.
"2026-10-15-1"
Body
Bare hostname, such as example.com or checkout.example.com. A bought domain must be a root domain. Wildcards, paths, schemes, and ports are not accepted.
"store.example.com"
Account ID, prefixed biz_. Required for user credentials; otherwise defaults to the credential's account.
Accept Apple Pay at checkout on the domain. It needs no other capability. Whop registers the domain with Apple: it stays pending until Apple answers, then turns ready, or action_required when Apple couldn't fetch the domain association file. Serve the file, then check the domain to register it again. Pass null to turn Apple Pay off: Whop removes the domain from Apple, and the domain stays, like releasing any other capability.
Send and receive email on the domain. Only a domain bought through Whop, or a subdomain of one in the same account, can have it. Whop publishes the DNS records and stays pending until its email provider verifies them, then turns ready. Pass null to remove email.
Custom string keys and values.
Track page views on the domain with the Whop pixel. It needs no other capability: it stays pending until the pixel records a page view, and turns action_required if it goes 7 days without one. Pass null to stop tracking.
Buy the domain through Whop, or transfer in a domain you own elsewhere with auth_code, then renew it every year and let Whop run its DNS. Pass null to release an unpaid or failed purchase, or to cancel a transfer while its current registrar can still stop it.
Prove you control the domain's DNS: Whop returns a TXT record to publish in issues, and whoever publishes it owns the domain on Whop. Pass null to release it. Can't be combined with registration.
Serve a Whop website on the domain. Pass null to stop serving it; the domain keeps its other capabilities.
Response
Domain created
ID of the account the domain belongs to, prefixed biz_.
"biz_xxxxxxxxxxxxxx"
Offering Apple Pay at checkouts served from the domain. null when not enrolled or not visible to you.
Whether you can register the hostname and what it costs. Set only when no domain on Whop has it.
When the domain was created, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"
Normalized hostname, such as checkout.example.com.
"shop.com"
Sending and receiving email on the domain through Whop. null when not wanted, or when the domain belongs to an account you can't read.
Domain ID, prefixed dom_. null when no domain on Whop has this hostname.
"dom_xxxxxxxxxxxxxx"
Custom string keys and values attached to this domain. Empty when the domain isn't yours.
The account that has proven it owns this hostname on Whop, which can be your own. null when no account has.
Tracking page views on the domain with the Whop pixel. null when not tracked or not visible to you.
An address on a zone Whop runs, such as example.whop.site, that follows its app's route. null for other domains or when not visible to you.
The domain's public registration record (RDAP), read when you retrieve it by hostname. null for domains on Whop, available domains, or a record that couldn't be read.
Buying the domain through Whop, renewing it, and running its DNS. null when not wanted or not visible to you.
Traffic on the domain. null when the domain isn't on Whop or isn't visible to you.
The most pressing state of the domain's capabilities: releasing, then action_required, then pending, then ready. idle when it wants nothing.
idle, pending, ready, action_required, releasing, null "pending"
When the domain was last updated, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"
Proving you control the domain's DNS with a TXT record. null when not wanted or not visible to you.
Serving a Whop website on the domain. null when not wanted.

