---
title: "Create a personal API key for MCP access"
method: POST
path: "/api-keys"
tags: ["api keys"]
---

# Create a personal API key for MCP access

`POST /api-keys`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/api-keys`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- CreateApiKeyDto
  - `name` string, required: Display name for the API key

## Response `201`

Key created; plaintext returned exactly once

---

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