---
title: "Create a Project Key"
method: POST
path: "/v1/projects/{project_id}/keys"
tags: ["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

## Changes

- **2026-08-15** `76f89c68dacf` — 2 info
  - api tag `keys` added
  - api tag `manage > v1 > projects > keys` removed
- **2026-08-12** `c761ed1f371e` — 2 info
  - api tag `manage > v1 > projects > keys` added
  - api tag `keys` removed
- **2026-08-06** `bd7ba5c18a6b` — 2 info
  - api tag `keys` added
  - api tag `manage > v1 > projects > keys` removed

[Change history](https://skmtc.dev/deepgram/apis/rest-api/changes/v1/projects/:project_id/keys/post.md)

---

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