Skip to content
Dashboard
Theme
Theme

List custom domains

GET /v1/custom_domains: List custom domains.

View Markdown

GET /v1/custom_domains

Scope
custom_domains:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • before string

  • 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" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"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"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}