---
title: "Get Custom Domain"
method: GET
path: "/v2/cloud-gateways/custom-domains/{customDomainId}"
tags: ["Custom Domains"]
---

# Get Custom Domain

`GET /v2/cloud-gateways/custom-domains/{customDomainId}`

Retrieves a custom domain by ID (restricted by permitted control-plane reads).

## Path parameters

- `customDomainId` string, uuid, required

## Response `200`

Response format for retrieving a custom domain for a control-plane.

- CustomDomain — Object containing information about a custom domain for a control-plane.
  - `id` string, uuid, required
  - `control_plane_id` string, uuid, required
  - `control_plane_geo` 'us' | 'eu' | 'au' | 'me' | 'in' | 'sg', required — Set of control-plane geos supported for deploying cloud-gateways configurations.
  - `domain` string, required — Domain name of the custom domain.
  - `certificate_id` string, uuid, nullable — Certificate ID for the certificate representing this domain and stored on data-planes for this control-plane. Can be retrieved via the control-planes API for this custom domain's control-plane.
  - `sni_id` string, uuid, nullable — Server Name Indication ID for this domain and stored on data-planes for this control-plane. Can be retrieved via the control-planes API for this custom domain's control-plane.
  - `state` 'created' | 'initializing' | 'ready' | 'terminating' | 'terminated' | 'error', required — State of the custom domain.
  - `state_metadata` object, required — Metadata describing the backing state of the custom domain and why it may be in an erroneous state.
    - `reported_status` string, nullable — Reported status of the custom domain from backing infrastructure.
    - `reason` string, nullable — Reason why the custom domain may be in an erroneous state, reported from backing infrastructure.
  - `entity_version` integer, required — Monotonically-increasing version count of the custom domain, to indicate the order of updates to the custom domain.
  - `created_at` string, date-time, required — An RFC-3339 timestamp representation of custom domain creation date.
  - `updated_at` string, date-time, required — An RFC-3339 timestamp representation of custom domain update date.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

## Changes

- **2025-09-16** `f03059016622` — 1 warning
  - added the new `sg` enum value to the `control_plane_geo` response property for the response status `200`
- **2025-08-22** `96118a9cd7f4` — 6 breaking
  - the response property `detail` became nullable for the status `401`
  - the response property `instance` became nullable for the status `401`
  - the response property `state_metadata/reason` became nullable for the status `200`
  - the response property `state_metadata/reported_status` became nullable for the status `200`
  - …2 more
- **2024-12-13** `8aedc289a938` — 1 warning
  - added the new `in` enum value to the `control_plane_geo` response property for the response status `200`
- **2024-12-06** `426663331655` — 1 warning
  - added the new `me` enum value to the `control_plane_geo` response property for the response status `200`

[Change history](https://skmtc.dev/kong/apis/konnect-api/changes/v2/cloud-gateways/custom-domains/:customDomainId/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api/revisions/2b2a72c67bd2?raw)
