---
title: "Get Environment Settings"
method: GET
path: "/v0/sites/{site_id}/environments/{env_id}/settings"
tags: ["sites"]
---

# Get Environment Settings

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

Returns environment settings for the specified environment.

## Path parameters

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

## Response `200`

- EnvironmentSettings — Primarily used for WordPress URL replacement during content cloning.
  - `domain` string, required — Primary domain for the environment
  - `domains` string[] — List of all domains associated with the environment (for WordPress multisite)

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `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)
