Create API key
API Keys
Create API key
Generate a new API key for the authenticated user
POST
Create API key
This endpoint generates a new API key for the authenticated user. Unlike the login endpoint which creates a session token, this creates a persistent API key that can be used for long-term API access.
This endpoint requires authentication. Use your existing API key or session token to create additional API keys.
Request Body
A name/label for the API key (e.g., “Production”, “Development”, “My App”)
Response
Success message
The created API key details
Example Request
Managing API Keys
- GET /user/api-keys - List all API keys for the authenticated user
- DELETE /user/api-keys/ - Delete a specific API key

