---
title: "Api Mint Apikey"
method: POST
path: "/dashboard/api/apikeys"
tags: ["dashboard"]
---

# Api Mint Apikey

`POST /dashboard/api/apikeys`

## 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/dashboard/api/apikeys`
- Auth: none declared

Create a named API key for the caller. The plaintext key is in THIS
response only; it is never stored or shown again. Policy (only monitoring
keys may never expire; a full key expires within 90 days) lives in
tokens.mint_named_key.

## Cookies

- `sentinelx_dash_session` string, nullable

## Request body

- MintKeyBody
  - `name` string, required
  - `scope` string, required
  - `expiry` string, required

## 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)
