RavenRelayDocs
Dashboard ↗

API reference / Email logs

Retrieve emails

Read project-scoped email logs, recipient outcomes and the event timeline.

GET/v1/emails
Authentication & request headers
AuthorizationBearer tokenrequired
Your project API key. Keep it on your server. Use an rr_test_ key to simulate sending without delivering email.

Query parameters

statusstring
Filter by email status, such as queued, sent, delivered or failed.
recipientstring
Filter by a recipient email address.
cursorstring
Pass next_cursor from the previous response. Omit it for the first page.

List emails

Optional filters: status, recipient and cursor. Each page contains up to 50 records. Pass next_cursor from the response to retrieve the next page; null means there are no more records.

Retrieve one email

GET/v1/emails/{id}
idstringrequired
The email ID returned by a send request or an accepted batch item. Passed in the URL path.

The detail response includes sender, To and CC, subject, tags, metadata, providerMessageId, recipient outcomes and events. Event entries contain id, type, occurredAt and a sanitized payload. Message bodies and BCC addresses are omitted from read responses.

Use the dashboard's Emails screen for the same timeline. For multi-recipient sends, check each recipient outcome instead of treating a single delivery event as success for everyone.

Retention and privacy

Terminal message bodies expire after seven days while worker maintenance runs. Public timelines omit original headers, BCC recipients and raw SMTP diagnostic strings. Do not place secrets in metadata.

Examples use illustrative email IDs. Accepted requests are processed asynchronously.