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

# Create Api Key

`POST /auth/api-keys`

## Request

- Base URL: `https://api.washinmura.jp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.washinmura.jp/auth/api-keys`
- Auth: HTTP bearer

建立新 API Key。只允許 session 認證（不允許用 API Key 建 API Key）。

## Request body

- CreateApiKeyRequest
  - `name` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/washinmura/apis/ainews.md) · [All operations](https://skmtc.dev/washinmura/apis/ainews/llms.txt) · [OpenAPI document](https://skmtc.dev/washinmura/apis/ainews/revisions/e4115ad582ca?raw)
