Getting Your API Key
Log In
Sign in to your Audixa Dashboard.
Navigate to API Keys
Go to Settings → API Keys.
Using Your API Key
Include your API key in thex-api-key header with every request:
Security Best Practices
Keep Keys Secret
Never expose API keys in client-side code, public repos, or logs.
Use Environment Variables
Store keys in environment variables, not in source code.
Rotate Regularly
Rotate keys periodically and immediately if compromised.
Use Separate Keys
Use different keys for development and production environments.
Authentication Errors
If authentication fails, the API returns a401 Unauthorized error:
- Missing
x-api-keyheader - Invalid or revoked API key
- Key copied incorrectly (extra spaces, partial copy)
Managing API Keys
In the dashboard, you can:- View keys: See all active keys (only the last 4 characters are shown for security)
- Revoke keys: Immediately disable compromised or unused keys
- Create new keys: Generate additional keys for different use cases
There’s no limit on the number of API keys you can create.