API Key Authentication
All Unifically API endpoints require authentication using a Bearer token.1
Get Your API Key
Sign up at unifically.com to get your API key
2
Add to Request Headers
Include your API key in the Authorization header of every request
Authentication Header
Best Practices
Use Environment Variables
Use Environment Variables
Never hardcode your API key. Always store it securely in environment variables or secrets management systems.
Keep Keys Secret
Keep Keys Secret
- Never commit API keys to version control
- Don’t share keys in public forums or documentation
- Rotate keys regularly
- Use separate keys for development and production
Handle Errors Gracefully
Handle Errors Gracefully
Always check for authentication errors and handle them appropriately in your application.
