Creating an API Key
Go to your API settings
Log in to snowseo.com/dashboard and go to Settings → Integrations → API.
Create a new key
Click Create new key and give it a name you’ll recognize later (e.g.,
Production Dashboard, Reporting Bot).Using Your API Key
Add your key to theAuthorization header using the Bearer format:
- cURL
- JavaScript
- Python
Keeping Your Keys Safe
Never put keys in frontend code
Never put keys in frontend code
API keys should only be used on the server side. If you put them in browser JavaScript, anyone can see them in your network requests. Instead, make API calls from your backend or a serverless function.
Use environment variables
Use environment variables
Store your key in an environment variable instead of hardcoding it. Never commit secrets to version control.
Rotate keys regularly
Rotate keys regularly
It’s good practice to replace your API keys every 90 days. Create a new key first, update your environment, then delete the old one — zero downtime.
Delete compromised keys immediately
Delete compromised keys immediately
If a key was accidentally exposed (e.g., pushed to a public repo), go to Settings → Integrations → API and delete it right away. The key stops working within seconds.
Quick Test
Check that your key works by calling any endpoint:401 Unauthorized response, your key is either invalid, expired, or has been deleted.
