---
title: "List a status page's custom domains"
method: GET
path: "/status-pages/{status_page_id}/domains"
tags: ["Status Page"]
---

# List a status page's custom domains

`GET /status-pages/{status_page_id}/domains`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/status-pages/{status_page_id}/domains`
- Auth: HTTP bearer

## Path parameters

- `status_page_id` integer, required

## Response `200`

Custom domains with their DNS records and state

- StatusPageDomainResponse[]
  - `certificate_expires_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `dns_records` DnsRecordInstruction[], required
    - `name` string, required: Fully qualified record name.
    - `purpose` string, required: Why the record is needed.
    - `record_type` string, required: `CNAME`, `A` or `TXT`.
    - `value` string, required: Record value.
  - `hostname` string, required
  - `id` integer, required
  - `last_error` string, nullable: Reason the last verification failed, if it did.
  - `serving` boolean, required: True when visitors can open the page on this hostname right now: the hostname is verified and the page is published.
  - `status` 'pending' | 'active' | 'failed' | 'unverified' | 'renewal_pending' | 'renewal_failed', required: Lifecycle of a custom hostname.
  - `verification_method` 'http-01' | 'dns-01', required: How ownership of a hostname is proven.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Status page not found
- `500`: Internal server error

## Changes

- **2026-10-12** `0fda1aa1af69`: 2 warning
  - added the new `renewal_failed` enum value to the `items/status` response property for the response status `200`
  - added the new `renewal_pending` enum value to the `items/status` response property for the response status `200`
- **2026-10-12** `a76c9be89da5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/status-pages/:status_page_id/domains/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
