---
title: "Create Api Key"
method: POST
path: "/api-keys"
---

# Create Api Key

`POST /api-keys`

## Request

- Base URL: `https://hypathesis.com` (the document declares no server; this is the origin it was published from)
- URL: `https://hypathesis.com/api-keys`
- Auth: none declared

Generate a new API key for the authenticated user. Returns plaintext key once.

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hypathesis/apis/hypathesis-vr-api.md) · [All operations](https://skmtc.dev/hypathesis/apis/hypathesis-vr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hypathesis/apis/hypathesis-vr-api/revisions/2f3db0f21394?raw)
