---
title: "Get the custom hostnames for this environemnt"
method: GET
path: "/environments/{environmentId}/custom/hostnames"
tags: ["CustomHostnames"]
---

# Get the custom hostnames for this environemnt

`GET /environments/{environmentId}/custom/hostnames`

## Path parameters

- `environmentId` string, required

## Response `200`

List of custom hostnames for this environment

- CustomHostnamesResponse
  - `customHostnames` CustomHostname[], required
    - `id` string, required
    - `hostname` string, required
    - `usage` 'cookies' | 'globalWallet', required
    - `status` 'active' | 'pending' | 'error', required
    - `verificationRecords` CustomHostnameVerificationRecord[], required
      - `dnsRecordType` 'TXT' | 'CNAME', required
      - `verificationType` 'certificate' | 'ownership' | 'alias', required
      - `name` string, required
      - `value` string, required
    - `errors` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/revisions/aac826315d90/schema)
