Skip to main content

POST /api/chain/:slug/api-keys

MethodPOST
Path/api/chain/:slug/api-keys
GroupChain Admin
Authauthenticated session — or Authorization: Bearer zsm_<machine-key> (machine API key) for headless/automation
Sourceshared/api-core/src/routes/chainAdmin.ts

Call it

curl -X POST https://zeqsdk.com/api/chain/:slug/api-keys \
-H "Authorization: Bearer zsm_<machine-key>" \
-H "Content-Type: application/json" \
-d '{"name":null,"scope":null,"rate_limit_tier":null,"expires_at":null}'

Call it from an authenticated session, or — for headless/automation — pass a zsm_ machine API key as a Bearer token (as shown above).

Reference