Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
scopes
enum<string>[]

Scopes granted to the new key. Defaults to MCP read and write. API-key callers may request only scopes already granted to the caller.

Available options:
mcp:read,
mcp:write,
mcp:destructive,
organizer:write

Response

API key created

id
string
required
name
string
required
key_prefix
string
required
created_at
string<date-time>
required
scopes
enum<string>[]
required
Available options:
mcp:read,
mcp:write,
mcp:destructive,
organizer:write
key
string
required
last_used_at
string<date-time> | null
revoked_at
string<date-time> | null