Overview
The Leavo API uses Bearer Token authentication. All requests must include a valid API key in theAuthorization header.
Getting Your API Key
1
Access the Dashboard
Go to Dashboard
2
Navigate to Settings
Access Settings > API Keys
3
Generate Key
Click “Create New Key” and copy the generated key
Using the Key
Include the key in theAuthorization header of all requests:
Environment Variables
Security
Don't expose in code
Never commit keys to version control
Rotate periodically
Change keys regularly for security
Use environment variables
Store keys in env vars or secret managers
Revoke if compromised
Immediately revoke compromised keys