---
title: "List a frontend's custom domains"
method: GET
path: "/projects/{id}/frontends/{frontendId}/domains"
tags: ["Frontends"]
---

# List a frontend's custom domains

`GET /projects/{id}/frontends/{frontendId}/domains`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/frontends/{frontendId}/domains`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Lists the frontend's custom domains, oldest first. Each domain either
serves the frontend or, with `redirect` set, redirects every request to
another domain of the frontend.

## Path parameters

- `id` string, uuid, required
- `frontendId` string, uuid, required

## Response `200`

The frontend's custom domains

- FrontendCustomDomainList
  - `data` FrontendCustomDomainResponse[], required
    - `domain` string, required
    - `tls_mode` 'managed' | 'byoc', required
    - `domain_status` 'pending_verification' | 'provisioning' | 'active' | 'detaching' | 'failed' | 'deleted', required
    - `verification_status` 'pending' | 'verified' | 'failed', required: `verified`: the domain is served by a validated certificate. `pending`: it is not served yet, is being re-validated after its certificate material was withdrawn, or Volcano is retrying after a failure. `failed`: a failure left the domain unserved, alongside `domain_status: failed`; managed domains report the cause in `failure_reason`.
    - `serving_certificate` 'uploaded' | 'managed': Certificate the domain serves, present only while it is active. `uploaded`: the BYOC certificate, including after the domain switched to managed TLS and until Volcano issues the managed one; `failure_reason` then reports an issuance failure. `managed`: a certificate Volcano issued.
    - `failure_reason` string: Failure category, present when managed TLS setup has failed, or when issuance is failing for a domain that switched to managed TLS and still serves its uploaded certificate. Current values are provider, certificate, ownership, and internal; ownership means another account has already claimed the hostname through ownership verification. Treat unrecognized values as internal.
    - `verification_records` FrontendDomainVerificationRecord[]: DNS records to publish now. For a managed domain whose hostname the account already owns, the create response names the `_acme-challenge` CNAME that authorizes certificate issuance and renewal. Otherwise it names the `_volcano` TXT record that proves ownership of the hostname's registrable domain, and reads return the CNAME once Volcano sees that record. Usually empty for BYOC.
      - `name` string, required
      - `type` string, required
      - `value` string, required
    - `required_routing_record` FrontendDomainRoutingRecord: Deprecated and no longer returned. Use routing_target_hostname as the DNS routing target.
      - `record_type` 'CNAME', required
      - `name` string, required
      - `value` string, required
    - `routing_target_hostname` string: DNS routing target hostname for this frontend. The DNS record type depends on whether the custom domain is a zone apex.
    - `effective_urls` string[], required
    - `redirect` FrontendCustomDomainRedirect, nullable, required: Where the domain redirects every request, or null when it serves the frontend.
      - `to` string, required: Hostname the domain redirects to.
      - `status` 301 | 302 | 307 | 308, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Project not owned by the caller
- `404`: Frontend not found
- `500`: Failed to list custom domains

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/frontends/:frontendId/domains/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
