Back

Generate API Key

POST/users/me/api-keys

Authorization

AuthorizationBearer <token>

API key authentication - use your API key as a Bearer token

In: header

Request Body

namestring

A recognizable name for this API key.

Response Body

> 201application/json
// POST /users/me/api-keys
// See cURL example for request shape.
{
  "id": "key_555",
  "name": "Prod Server",
  "keyPrefix": "zrn_live_a1b2",
  "createdAt": "2026-03-25T10:00:00Z"
}