Skip to main content

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

Create API key