---
title: "Create Personal API Key"
method: POST
path: "/v1/user/api-keys"
tags: ["API Keys"]
---

# Create Personal API Key

`POST /v1/user/api-keys`

Creates a personal API key scoped to the authenticated user. Requires JWT authentication.

## Request body

- object
  - `name` string, required — Display name for the API key

## Response `201`

API key created. The `key` field is only returned once.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized - Invalid or missing API key
- `500` — Internal server error

---

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