---
title: "Create Api Key For User"
method: POST
path: "/api/v1/api-keys"
tags: ["api-keys"]
---

# Create Api Key For User

`POST /api/v1/api-keys`

## Request

- Base URL: `https://api.aws.cognee.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.aws.cognee.ai/api/v1/api-keys`
- Auth: API key in header `X-Api-Key`

## Request body

- ApiKeyCreationPayload
  - `name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cognee/apis/cognee-api.md) - [All operations](https://skmtc.dev/cognee/apis/cognee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cognee/apis/cognee-api/revisions/a7b6c6cb8212?raw)
