API Keys Reference

Generate and manage API keys from the API Keys page in this portal. Copy your key immediately after creation — it's only shown once.

Key types

PrefixEnvironmentRate limit
sk_staging_Staging1,000 req/hour
sk_live_Production10,000 req/hour

Security best practices

  • Store in environment variables — never hardcode in source
  • One key per service — easier to rotate and audit
  • Rotate periodically — generate new key, update services, revoke old key
  • Add .env to .gitignore — prevent accidental commits
# .env (never commit this file)
SALLY_API_KEY=sk_staging_your_key_here

Error responses

StatusMeaning
401Key is missing, invalid, expired, or revoked
403Key doesn't have permission for this resource
429Rate limit exceeded — check X-RateLimit-Reset header