---
ai:
  exclude: true
search:
  tags:
    - projectvalidate
    - GET
seo:
  description: >-
    Validates a project key. Reference for the GET /api/2/projectvalidate/key
    endpoint in the Jira Software Data Center REST API Reference.
sidebar:
  label: Get project key validation
  badge: GET
title: Get project key validation
type: openapi-operation
---
Validates a project key.

`GET /api/2/projectvalidate/key`

**Responses**

- `200` — Returns an ErrorCollection containing any validation errors for the project key. If the project key is valid, the ErrorCollection will be empty.
- `401` — Returned if the user is not logged in.

Response example, 200:

```json
{
  "errorMessages": [
    "string"
  ],
  "errors": {
    "property1": "string",
    "property2": "string"
  }
}
```
