Create API key
curl -X POST "https://api.52-28-238-205.sslip.io/v1/api-keys" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"name":"Example"}'Creates a test-mode API key (sk_test_...) with the given scopes and optional expiry. Requires developer:manage and a fresh passkey step-up; you cannot grant scopes you do not hold. The secret is shown once.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403. From the console it also needs a passkey step-up within the last 5 minutes.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
name*Name1 <= length <= 120scopes?array<string>expires_in_days?|nullSuccess.
application/json- response
api_key*secret*SecretSecret shown once. Store it; Abazi keeps only a hash.
[key: string]?anyGETList API keys
Lists the organization's API keys, newest first, with prefix, scopes, status (active, rolling, expired, revoked) and last use; secrets are never returned. Requires developer:manage.
POSTRoll API key
Issues a new key with the same name and scopes and keeps the old one working for overlap_hours (default 24, max 168; 0 revokes it at once). Requires developer:manage and a passkey step-up; a revoked or expired key cannot be rolled. The new secret is shown once.