---
title: "Create a Project Key"
method: POST
path: "/v1/projects/{project_id}/keys"
tags: ["manage > v1 > projects > keys"]
---

# Create a Project Key

`POST /v1/projects/{project_id}/keys`

Creates a new API key with specified settings for the project

## Path parameters

- `project_id` string, required

## Headers

- `Authorization` string, required

## Request body

- union
  - unknown
  - unknown

## Response `200`

API key created successfully

- CreateKeyV1Response — API key created
  - `api_key_id` string — The unique identifier of the API key
  - `key` string — The API key
  - `comment` string — A comment for the API key
  - `scopes` string[] — The scopes for the API key
  - `tags` string[] — The tags for the API key
  - `expiration_date` string, date-time — The expiration date of the API key

## Other responses

- `400` — Invalid Request

---

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