Skip to content
Dashboard
Theme
Theme

Retrieve a custom domain and its status

GET /v1/custom_domains/{custom_domain}: Retrieve a custom domain and its status.

View Markdown

GET /v1/custom_domains/{custom_domain}

Scope
custom_domains:read
Auth
Secret key (sk_…)
Since
1.0
  • custom_domain string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/custom_domains/cdom_01J9Z3K5V7W8X9Y0Z1A2B3C4D5" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"id": "cdom_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "custom_domain",
"type": "portal",
"hostname": "acme.com",
"state": "pending",
"dns_records": [
{
"type": "CNAME",
"name": "Acme Corp",
"value": "enterprise"
}
],
"created_at": "2026-01-15T09:30:00Z"
}