Authentication
Learn how to authenticate your API requests
API Keys
API keys are the primary method for authenticating with the Content Hub API. Each API key is associated with a specific account and has its own permissions.
Authorization: Bearer YOUR_API_KEY
Include your API key in the Authorization header of every request.
Generating API Keys
- Log in to your Content Hub account
- Navigate to Settings → API Keys
- Click "Generate New Key"
- Give your key a descriptive name
- Copy and store your key securely
Security Best Practices
- Never commit API keys to version control
- Use environment variables to store keys
- Rotate keys regularly
- Use different keys for development and production
- Revoke keys immediately if compromised