---
title: "List Project Domains by Apex Domain"
method: GET
path: "/v1/domains/{domain}/project-domains"
tags: ["domains"]
---

# List Project Domains by Apex Domain

`GET /v1/domains/{domain}/project-domains`

List all project domains associated with an apex domain owned by the authenticated account.

## Path parameters

- `domain` string, required — The apex domain name.

## Query parameters

- `limit` number — Maximum number of project domains to list from a request.
- `since` number — Get project domains created after this JavaScript timestamp.
- `until` number — Get project domains created before this JavaScript timestamp.
- `teamId` string
- `slug` string

## Response `200`

Successful response retrieving project domains for an apex domain.

- object
  - `projectDomains` object[], required
    - `name` string, required
    - `apexName` string, required
    - `projectId` string, required
    - `redirect` string, nullable
    - `redirectStatusCode` 301 | 302 | 307 | 308 | null, nullable
    - `gitBranch` string, nullable
    - `customEnvironmentId` string, nullable
    - `updatedAt` number
    - `createdAt` number
    - `verified` false | true, required — `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
    - `verification` object[] — A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
      - `type` string, required
      - `domain` string, required
      - `value` string, required
      - `reason` string, required
  - `pagination` Pagination, required — This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.
    - `count` number, required — Amount of items in the current page.
    - `next` number, nullable, required — Timestamp that must be used to request the next page.
    - `prev` number, nullable, required — Timestamp that must be used to request the previous page.

## Other responses

- `400` — One of the provided values in the request query is invalid.
- `401` — The request is not authorized.
- `403` — You do not have permission to access this resource.
- `404`
- `410`

---

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