Quickstart
From API key to delivered email in three requests
1. Get an API key
Create a key in the dashboard. You’ll get a
rray_live_... (or rray_test_...) secret — store it safely, it is shown
exactly once.
Every request authenticates with a Bearer header:
2. Send an email
A 202 Accepted returns the email object:
Two headers worth understanding before production:
X-Workspace-Id— required for platform-scoped keys; see Authentication & Workspaces.Idempotency-Key— makes retries safe; see Idempotency.
3. Track delivery
Statuses progress queued → sent → delivered (or bounced / deferred).
Poll one email:
Or list recent deliveries with a filter:
List responses are cursor-paginated — follow pagination.next_cursor for
older emails, pagination.prev_cursor for newer ones
(how it works).
If something goes wrong
Errors are flat application/problem+json bodies with a stable code to
match on and a request_id to quote to support:
The full catalog lives at GET /errors and in
the Errors guide.