# List environment domains

```http
GET /projects/{project_reference}/environments/{environment_id}/domains
```

List environment domains. Requires project.read.

## Parameters

| Name                | In    | Required | Description                                                                                |
| ------------------- | ----- | -------- | ------------------------------------------------------------------------------------------ |
| `project_reference` | path  | Yes      |                                                                                            |
| `environment_id`    | path  | Yes      | Environment ID                                                                             |
| `cursor`            | query |          | Pagination cursor: a domain ID in this environment. An unknown cursor is rejected.         |
| `limit`             | query |          | Results per page, 1 to 100. Defaults to 20.                                                |
| `sort_by`           | query |          | Sort field. "name" sorts by the domain name, "updated\_at" by the domain update timestamp. |
| `sort_order`        | query |          | Sort order: "asc" or "desc".                                                               |

## Responses

| Status | Description               |
| ------ | ------------------------- |
| 200    | Paginated list of domains |
| 400    | Bad request               |
| 401    | Unauthorized              |
| 403    | Forbidden                 |
| 404    | Environment not found     |
| 500    | Server error              |
