---
title: "Get Domains"
method: GET
path: "/v0/sites/{site_id}/environments/{env_id}/domains"
tags: ["sites"]
---

# Get Domains

`GET /v0/sites/{site_id}/environments/{env_id}/domains`

Retrieves all domains associated with an environment.

## Path parameters

- `site_id` string, required
- `env_id` string, required

## Response `200`

- Domain[] — DomainsResponse represents a list of domains
  - `deletable` boolean, required — Whether the domain can be deleted
  - `id` string, required — The domain identifier
  - `primary` boolean, required — Whether this is the primary domain
  - `status` string, required — Domain status (OK, error, etc.)
  - `status_message` string — Human-readable status message
  - `type` string, required — The domain type (platform or custom)

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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