---
title: "Create a new API key"
method: POST
path: "/v1/auth/keys"
tags: ["auth"]
---

# Create a new API key

`POST /v1/auth/keys`

## Request

- Base URL: `https://api.slideforge.dev`
- URL: `https://api.slideforge.dev/v1/auth/keys`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Create a new API key. The full key is shown once only -- store it securely.

## Request body

- CreateKeyRequest
  - `name` string

## Response `200`

API key created (full key returned once)

- unknown

## Other responses

- `401`: Authentication required
- `422`: Validation Error

---

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