Request body
json
{
"name": "stripe-prod"
}API Endpoint
Create a generated server API key for provisioning routes.
POST /management/api-keys
Use these endpoints from internal tooling or your frontend backend to inspect licenses, manage slug policy templates, provisioning API keys, webhook endpoint configuration/logs, and offline JWT signing keys. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.
curl -sS http://localhost:8080/management/api-keys \
-H "Authorization: Bearer management_key_dev_123456" \
-H "Content-Type: application/json" \
-d '{
"name": "stripe-prod"
}'{
"name": "stripe-prod"
}{
"api_key": "a94f2c8b5e11d67e8a03c91fd78122e3f6acbb16de2202aa0f814cc2f71d10be",
"id": 3,
"name": "stripe-prod",
"created_at": "2026-04-21T10:30:00Z"
}api_key
string
Generated key value, shown only once.
id
number
Stable internal key id.
name
string
Operator-supplied label.
created_at
string
RFC3339 creation timestamp.
Invalid JSON payload.
Missing or invalid management API key.
Unexpected server or storage error.