Create API Key (User)
Authentication
Create API Key (User)
Create a new API key for the authenticated user. Users can create keys for themselves with safe default scopes. Defaults to mcp:full scope if not specified. API key is only shown once - save it immediately.
POST
Create API Key (User)
Documentation Index
Fetch the complete documentation index at: https://docs.ai2fin.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token obtained from /api/enterprise-auth/login endpoint. Use for standard API access and OAuth-based integrations.
Body
application/json
Example:
"My MCP Integration"
Scopes for the API key. Defaults to mcp:full. Admin scope (*) is not allowed for user-created keys.
Available options:
mcp:read, mcp:tools:list, mcp:tools:call, mcp:resources:read, mcp:full Required range:
1 <= x <= 365Example:
90
