Skip to content

Authentication

All SOVR API requests require authentication.

Headers

HeaderRequiredDescription
x-api-keyYesYour SOVR API key
x-tenant-idYesYour tenant identifier
Content-TypeYesMust be application/json

Example

bash
curl -X POST https://sovrapp.com/api/sovr/gate/check \
  -H "Content-Type: application/json" \
  -H "x-api-key: sk_live_..." \
  -H "x-tenant-id: tenant_abc123" \
  -d '{"action": "...", "context": {}}'

API Key Types

TypePrefixUse Case
Livesk_live_Production
Testsk_test_Development

Getting API Keys

  1. Log in to sovrapp.com
  2. Navigate to Settings → API Keys
  3. Click Create New Key
  4. Copy and securely store your key

WARNING

API keys are shown only once. Store them securely.

Best Practices

  • Never commit API keys to version control
  • Use environment variables
  • Rotate keys periodically
  • Use test keys for development

The AI Responsibility Layer