API Key Management
Create API Key
Creates a new API key under the same billing subscription. The full api_key value is only returned in this response — save it now.
Authorization
apiKey X-API-Key<token>
In: header
Request Body
application/json
label?string
Human-readable name for the key.
Length
length <= 255credit_limit?integer
Per-key credit cap within the plan quota. Omit or set to null for no per-key limit.
Response Body
application/json
curl -X POST "https://api.stakingrewards.com/public/billing/api-keys" \ -H "Content-Type: application/json" \ -d '{ "label": "CI pipeline", "credit_limit": 10000 }'{
"id": "9bc34e12-0000-4def-8abc-112233445566",
"api_key": "sr1-abcd-ef12",
"label": "CI pipeline",
"credit_limit": 10000,
"is_active": true,
"revoked_at": null,
"created_at": "2026-03-05T12:00:00Z"
}Empty