Get started
API keys & authentication
SendBolt has two auth flavours: JWT (for the dashboard + short-lived sessions) and API keys (for your server-to-server traffic). Use API keys for everything you ship to production.
Minting a key
- Sign in to your dashboard
- Go to Settings → API keys
- Click Create key, pick a name + scopes, save
- Copy the key now — the value is shown once and never again
Scope reference
| Scope | Allows |
|---|---|
transactional:send | POST /transactional/send |
templates:read / :write | Template CRUD |
campaigns:read / :write | Campaign CRUD + launch |
contacts:read / :write | Contact CRUD + bulk import |
suppressions:read / :write | Suppression list management |
events:read | Open / click / bounce event feed |
reputation:read | Per-domain reputation + trust-score |
Principle of least privilege: mint one key per service that needs it, with only the scopes that service uses. Rotate when an engineer leaves the team.
Sending an authenticated request
curl "$SENDBOLT_API_URL/api/v1/whoami" \
-H "Authorization: Bearer $SENDBOLT_API_KEY"Successful auth returns 200 with the tenant + key metadata. 401 = bad key. 403 = the key is valid but lacks the scope for this endpoint.
Rate limits
Standard limits per API key:
- 60 req/min for read endpoints
- 600 req/min for
/transactional/send - 60 req/min for write endpoints (campaign launches, list edits)
Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. On 429 we also include Retry-After in seconds — respect it.
Quota headers (W132-B)
Send-path responses also include X-Quota-Used, X-Quota-Cap, X-Quota-Remainingfor the current month's plan tier. When usage ≥ 80%, X-Quota-Warning: 1is set. When usage ≥ cap, requests return 402 Payment Required.
Rotating a key
- Create the new key first
- Deploy your service with the new key
- Watch for traffic on the new key in API keys (the table shows
last_used_at) - Wait an hour, then revoke the old key
Don't skip step 3 — if some background worker is still using the old key and you revoke it, that worker starts 401'ing.
SAML / SSO (Enterprise)
Available on Pro and Scale tiers — see SSO setup. SSO is for dashboard login only; server-to-server traffic still uses API keys.