Skip to Content
API ReferencePOST /v1/keys

Mint an API key

POST | GET /v1/keys

Mint a new rz_live_ API key. The raw key is returned exactly once and stored only as a SHA-256 hash — it can never be retrieved again.

Management API: separate base URL, authenticated with your dashboard session JWT (never an API key).

Request body

FieldTypeDescription
labelstring

Example request

curl -X POST "https://oxtg7m5erd.execute-api.us-east-1.amazonaws.com/v1/keys" \ -H "Authorization: Bearer <session-jwt>" \ -H "Content-Type: application/json" \ -d '{ "label": "Production" }'

Example response

{ "success": true, "data": { "key": "rz_live_XXXXXXXX…", "keyId": "key_1a2b3c4d5e6f7a8b", "keyPrefix": "rz_live_XXXXXXXX", "label": "Production" }, "credits_used": 0, "request_id": "req_…" }

Try it

Open this endpoint in the interactive playground  — requests run with your API key.

Last updated on