---
title: "Get a project domain"
method: GET
path: "/v9/projects/{idOrName}/domains/{domain}"
tags: ["projects"]
---

# Get a project domain

`GET /v9/projects/{idOrName}/domains/{domain}`

Get project domain by project id/name and domain name.

## Path parameters

- `idOrName` string, required — The unique project identifier or the project name
- `domain` string, required — The project domain name

## Query parameters

- `teamId` string
- `slug` string

## Response `200`

- object
  - `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

## 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.
- `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/versions/b4d86a3e3479/schema)
