Authorization header.
Getting Your API Key
- Sign in to your Snapopa Dashboard
- Navigate to API Keys
- Click Create New Key
- Copy and securely store your API key
Using Your API Key
Include the API key in theAuthorization header of every request:
API Key Format
API keys follow this format:
The first 24 characters are the key prefix shown in your dashboard - use it to
identify a key. The rest is secret and is only displayed once, at creation.
Security Best Practices
- Never expose keys in client-side code - API calls should be made from your backend
- Use environment variables - Store keys in
.envfiles, not in code - Rotate keys regularly - Generate new keys periodically
- Set key expiration - Use expiring keys when possible
- Monitor usage - Check your dashboard for unusual activity