Get started
API keys and environments
Keep application authentication scoped to a project and separate from dashboard sessions.
Authenticate server requests
Authorization: Bearer rr_test_your_secretCreate keys in the project's API Keys screen. The secret is shown once and stored as a hash. Keep it out of browser bundles, source control and logs. Revoke a compromised key and create a replacement.
Test and live environments
| Key | Project | Behavior |
|---|---|---|
rr_test_ | Test | Provider-free no-delivery sandbox with simulated events and deterministic scenarios; no verified domain required. |
rr_live_ | Live | Sends real email through RavenRelay after domain verification, operator activation and readiness checks. |
Test and Live usage are separate. Each Test key can simulate 100,000 emails per UTC month, within a 500,000-email workspace sandbox ceiling. Emails that exceed your sending allowance fail with quota_exceeded. Live uses the workspace delivery allowance and provider limits. New workspaces start with Live sending disabled.
Project scope and access
An API key can only access its project. Send-only keys can read messages created by that key; an email:read key can read its project's messages. Dashboard sessions manage domains, keys and webhooks separately and cannot submit email sends.