Skip to main content
POST
/
v1
/
api-keys
Mint a tenant API key
curl --request POST \
  --url https://api.usezombie.com/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key_name": "<string>",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "key_name": "<string>",
  "key": "<string>",
  "created_at": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Body

application/json
key_name
string
required

Unique per tenant. Alphanumeric, hyphens, and underscores only.

Required string length: 1 - 64
description
string
Maximum string length: 256

Response

Created

id
string<uuid>
required
key_name
string
required
key
string
required

Raw zmb_t_ tenant key (70 chars). Shown once — store securely.

created_at
integer<int64>
required