Server API keys are available on Pro and above. The number of active keys is limited by tier: Pro allows 1, Business allows 5, Enterprise allows 20. The Free tier cannot create API keys.
Authentication
All API key management endpoints require a dashboard session (cookie-based). Any organization member can list keys; creating, rotating, and revoking keys requires Admin role or above.Key prefixes
Grantiva issues three kinds of keys, distinguishable by prefix:
Use keys in server-to-server requests via the
Authorization header:
List API keys
Create an API key
Response —
200 OK
rawKey is shown only in this response. Store it securely.
Errors
Rotate an API key
"<old name> (Rotated)".
Request body (optional)
Response —
200 OK
Same shape as the create response, including the new rawKey (shown once).
Errors
Revoke an API key
204 No Content
Scopes
Scopes follow aresource:action format. A key with api:all passes every scope check.
Scope availability by tier
Requesting a scope outside your tier returns
400 with the invalid scopes listed.