---
title: "Mint Key"
method: POST
path: "/v1/keys"
tags: ["api"]
---

# Mint Key

`POST /v1/keys`

## Request

- Base URL: `https://mcp.sentinelx.app` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.sentinelx.app/v1/keys`
- Auth: none declared

Mint a scoped API key for the authenticated OAuth user. Shown ONCE.

## Request body

- MintRequest: Body of ``POST /v1/keys``. ``scope`` is fixed to the user's full access in v1 (see the spec LOCKED block), so only TTL and a label are accepted.
  - `ttl_seconds` integer, nullable
  - `label` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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