Authentication¶
API Key Authentication¶
For all programmatic access, authenticate by including your API key in the X-API-Key header.
Where to Find Your API Key¶
- Log in to Adwize at app.getadwize.com.
- Go to Settings > API Keys.
- Copy your API key.
Keep your API key secret
Your API key grants full access to your tenant's data. Never expose it in client-side code, public repositories, or browser JavaScript. Use it only in server-side applications or secure environments.
Example Requests¶
Error Responses¶
| Status | Meaning |
|---|---|
401 Unauthorized |
API key is missing, invalid, or revoked |
403 Forbidden |
API key is valid but the request domain is not in your allowed domains |
Rotating Your API Key¶
To rotate your API key:
- Go to Settings > API Keys.
- Generate a new key.
- Update all your integrations with the new key.
- The previous key stops working immediately.
Web UI Authentication¶
The Adwize web application uses session-based authentication (JWT cookies) handled automatically by your browser after login. You do not need to manage this -- it is transparent when using the dashboard at app.getadwize.com.
Rate Limits¶
See the API Overview for rate limit details.