API Authentication
Secure your API requests with proper authentication.
Getting Your API Key
- Go to **Settings** > **API Keys**
- Click **"Generate New Key"**
- Name your key (e.g., "Production App")
- Select the key scope
- Copy and securely store your key
**Important**: API keys are only shown once. Store them securely.
Using Your API Key
Include your API key in the Authorization header:
curl -X GET "https://api.hellobeacon.ai/v1/brands" \
-H "Authorization: Bearer YOUR_API_KEY"API Key Scopes
Read-Only
Access to read data:
- GET endpoints only
- Suitable for dashboards and reporting
Read-Write
Full access:
- All GET, POST, PUT, DELETE endpoints
- Suitable for full integrations
Key Management
Rotating Keys
- Generate a new key
- Update your applications
- Delete the old key
Revoking Keys
If a key is compromised:
- Go to **Settings** > **API Keys**
- Click **"Revoke"** on the compromised key
- Generate a new key
Security Best Practices
- **Never expose keys in client-side code**
- **Use environment variables**
- **Rotate keys regularly**
- **Use minimum required scope**
- **Monitor API usage for anomalies**
OAuth 2.0 (Enterprise)
Enterprise plans support OAuth 2.0 for:
- User-level authentication
- Delegated access
- Third-party integrations
Contact support to enable OAuth for your organization.