---
title: "Create Account Key"
method: POST
path: "/account/keys"
---

# Create Account Key

`POST /account/keys`

## Request

- Base URL: `https://www.clipzyn.com/v1`
- URL: `https://www.clipzyn.com/v1/account/keys`
- Auth: HTTP bearer

Mint an API key and return its raw credential exactly once.

Costs nothing quota-wise. Store the response's key immediately because only
its hash and display prefix persist. The account:write scope is owner-gated.
Recover from key_limit_reached by revoking an unused key, from scope_missing
with an owner-authorized key, and from rate_limited or service_unavailable by
waiting retry_after_sec before retrying; never log the response credential.

## Request body

- MintKeyRequest
  - `name` string
  - `scopes` string[], nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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