---
title: "Get a Custom Domain"
method: GET
path: "/helm/{helmId}/customDomain/{customDomainId}"
tags: ["Helm Custom Domain"]
---

# Get a Custom Domain

`GET /helm/{helmId}/customDomain/{customDomainId}`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/helm/{helmId}/customDomain/{customDomainId}`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/helm/:helmId/customDomain/:customDomainId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a custom domain

## Path parameters

- `helmId` string, uuid, required
- `customDomainId` string, uuid, required

## Response `200`

Get a CustomDomain

- CustomDomain
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time
  - `domain` string, required: your custom domain
  - `generate_certificate` boolean, required: to control if a certificate has to be generated for this custom domain by Qovery. The default value is `true`. This flag should be set to `false` if a CDN or other entities are managing the certificate for the specified domain and the traffic is proxied by the CDN to Qovery.
  - `use_cdn` boolean: Indicates if the custom domain is behind a CDN (i.e Cloudflare). This will condition the way we are checking CNAME before & during a deployment: * If `true` then we only check the domain points to an IP * If `false` then we check that the domain resolves to the correct service Load Balancer
  - `validation_domain` string: URL provided by Qovery. You must create a CNAME on your DNS provider using that URL
  - `status` 'VALIDATION_PENDING'

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
