SEDI API Docs - Build powerful integrations
Basics

Authentication

The SEDI API uses Bearer token authentication. Include your API key in the Authorization header of every request.

API keys

TypePrefixUsage
Livesk_live_Production requests
Testsk_test_Development and testing

Sending your key

curl https://api.sedi.dev/v1/users \
  -H "Authorization: Bearer sk_live_abc123def456"
const client = new SEDI('sk_live_abc123def456');
from sedi import SEDI
client = SEDI(api_key="sk_live_abc123def456")
client := sedi.NewClient("sk_live_abc123def456")

Rate limit headers

Every response includes rate limit information:

HeaderDescription
X-RateLimit-LimitMaximum requests per minute
X-RateLimit-RemainingRemaining requests in current window
X-RateLimit-ResetUnix timestamp when the window resets

Best practices

  • Rotate keys every 90 days
  • Use separate keys for development and production
  • Never expose keys in client-side code
  • Use environment variables or a secret manager