---
title: "Mint a new API key, optionally with spend budgets/expiry (JWT-authenticated only)"
method: POST
path: "/v1/keys"
---

# Mint a new API key, optionally with spend budgets/expiry (JWT-authenticated only)

`POST /v1/keys`

## Request

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

## Request body

- MintKeyBody
  - `label` string, required
  - `budget_total_credits` integer, nullable
  - `budget_daily_credits` integer, nullable
  - `expires_at` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noseforleads/apis/nose-for-leads-api.md) · [All operations](https://skmtc.dev/noseforleads/apis/nose-for-leads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noseforleads/apis/nose-for-leads-api/revisions/e17825d1f5af?raw)
