Domains
Create Domain
Creates an unverified claim and returns DNS instructions. A claim does not reserve the hostname globally. Publish its unique TXT record; ownership verification, DNS checks, and certificate provisioning run automatically. Unverified claims are deleted after 48 hours.
post/domains
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"app_id": "app_xxxxxxxxxxxxxx",
"domain": "store.example.com",
"metadata": {
"project": "website"
}
}Response
Domain claim created
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"app_id": "app_xxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"dns_records": [
{
"name": "_whop.shop.example.com",
"type": "TXT",
"value": "whop-domain-verification=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"dns_status": "pending",
"domain": "shop.example.com",
"id": "dom_xxxxxxxxxxxxxx",
"issues": [
{
"code": "dns_required",
"message": "Point DNS to Whop using the routing records. Disable other CDN proxies while connecting."
}
],
"metadata": {},
"status": "deleting",
"updated_at": "2026-01-01T12:00:00.000Z",
"verification_expires_at": "2026-01-01T12:00:00.000Z"
}