API Keys
API keys are used to authenticate requests to the Boty API.Generate an API Key
1
Go to Settings
Navigate to Settings → API Keys in your dashboard.
2
Create Key
Click Generate New Key and give it a name.
3
Copy Key
Copy the key immediately - it won’t be shown again.
Using Your API Key
Include the API key in theAuthorization header:
JavaScript Example
Python Example
Key Permissions
API keys inherit the permissions of the user who created them.| Scope | Access |
|---|---|
agents:read | View agents |
agents:write | Create/update agents |
conversations:read | View conversations |
workspace:admin | Full workspace access |
Security Best Practices
- Store keys in environment variables
- Rotate keys periodically
- Use separate keys for development and production
- Revoke unused keys