API Keys
API keys authenticate your requests to the Souma API. Manage them from Dashboard > Settings > API Keys.
Generating a key
- Navigate to your dashboard
- Go to Settings > API Keys
- Click Generate new key
- Copy and securely store your key
Important: API keys are shown only once at creation. Store them securely before closing the dialog.
Key permissions
| Permission | Description |
|---|---|
validate | Submit content for validation |
read | Read validation results and stats |
admin | Full account access including key management |
Usage monitoring
Track key usage directly in the dashboard:
- Requests per day/week/month
- Error rates and response times
- Content types validated
- Flag frequency and severity distribution
Revoking a key
If a key is compromised:
- Go to Settings > API Keys
- Find the compromised key
- Click Revoke
- Generate a new key and update your applications