Authentication
All RevenueBase API requests are authenticated with an API key sent in a header. You can try any endpoint in the API playground on each endpoint page: enter your API key when prompted, then send requests and view responses directly in the docs.API key (header)
Send your API key in the x-key header on every request:Getting an API key
- Sign in to the RevenueBase dashboard.
- Go to Settings → API Keys.
- Click Create API key and copy the value. You cannot view it again after creation.
Security practices
- Keep keys secret — Do not commit API keys to version control or expose them in client-side or mobile apps.
- Use server-side only — Call the API from your backend or trusted environment.
- Rotate if exposed — If a key may be compromised, create a new key and revoke the old one in the dashboard.
