How to Use Your API Key
Include your API key in theAuthorization
header of every API request:
Your API key carries many privileges. Keep it secure and do not share it in publicly accessible areas.
Where to Find Your API Key
- Log in to your Userpilot dashboard.
- Go to the Environment Page.
- Copy your API key from the API Key section.
All API requests must be made over HTTPS.
Security Best Practices
- Never expose your API key in client-side code or public repositories.
- Rotate your API keys regularly.
- If you suspect your API key has been compromised, regenerate it immediately from the dashboard.