Create an API key
API keys
Create an API key
Creates a new scoped key for trusted integrations and MCP clients. This endpoint accepts only the in-product browser session cookie — bp_ API keys cannot create other API keys. Use the in-app UI rather than calling this endpoint directly. The plaintext bp_ key is returned once; store it immediately.
POST
Create an API key
Body
application/json
Required string length:
1 - 200Scopes granted to the new key. Send explicit least-privilege scopes for API-created keys.
Available options:
blueprints:read, blueprints:write, blueprints:deploy, orders:read, orders:write, market_data:read, portfolio:read, portfolio:write, risk:read, risk:write, api_keys:read, api_keys:write Response
Created API key including one-time plaintext key.
Available options:
blueprints:read, blueprints:write, blueprints:deploy, orders:read, orders:write, market_data:read, portfolio:read, portfolio:write, risk:read, risk:write, api_keys:read, api_keys:write Example:
"bp_YOUR_API_KEY"