Create API key
POST/api/workspaces/:workspaceId/api-keys
Authentication: requires a logged-in workspace-member session. API keys (workspace or the instance master key) are NOT accepted for this operation.
Creates a workspace API key and returns the signed token ONCE. Session-only — API keys cannot mint other keys.
Request
Responses
- 200
- 400
- 401
- 403
Create API key
Validation error
Missing or invalid credentials
Insufficient permissions