Quickstart
Create your Ritto Mail account and send your first email in a few minutes.
Ritto Mail is a hosted service: the dashboard is at
app.ritto.email and the API at
https://api.ritto.email. There is no infrastructure to set up.
1. Create your account
Sign up at app.ritto.email. That's it — no servers, no email-provider account to configure.
2. Verify a sending domain
Ritto Mail only sends from domains you have verified.
- In the dashboard, go to Domains and add a domain you control
(e.g.
acme.dev). - Add the DNS records it shows you — a DKIM TXT record plus MAIL FROM records — at your DNS provider.
- Click Check DNS. Ritto Mail also resolves the records live, so you can see immediately which ones are still missing.
3. Create an API key
Go to API keys and create one. The rm_ token is shown once — copy it
now. (Keys created before the rename to Ritto Mail start with ms_ and keep
working.) Keys can be scoped to full access or sending-only, and optionally pinned
to a single domain.
4. Send an email
Your API base URL is https://api.ritto.email.
With curl:
curl -X POST https://api.ritto.email/emails \
-H "Authorization: Bearer rm_..." \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <onboarding@acme.dev>",
"to": ["success@simulator.amazonses.com"],
"subject": "Hello from Ritto Mail",
"html": "<strong>It works!</strong>"
}'Or with the official Resend Node SDK (npm install resend) — Ritto Mail has
no SDK of its own; its API is wire-compatible with Resend's, so Resend's SDKs
work unchanged once pointed at Ritto Mail:
// RESEND_BASE_URL=https://api.ritto.email (read by the SDK)
import { Resend } from "resend";
const resend = new Resend("rm_...");
const { data, error } = await resend.emails.send({
from: "Acme <onboarding@acme.dev>",
to: "success@simulator.amazonses.com",
subject: "Hello from Ritto Mail",
html: "<strong>It works!</strong>",
});
if (error) console.error(error.name, error.message);
else console.log("sent", data.id);Both return { "id": "..." }. Watch the email move from queued to
delivered on the Emails page.
Already on Resend? Point the official Resend SDK at Ritto Mail instead — set
RESEND_BASE_URL to https://api.ritto.email and use your rm_ key. The wire format is
identical. Set it in the environment before the SDK loads — older SDK versions
read it only once and ignore a baseUrl option, and a request that still
reaches Resend fails with 401 "API key is invalid". See SDKs.
Testing
- To test end to end without emailing anyone, send to
success@simulator.amazonses.com, as the examples above do: the simulator confirms the delivery, and the email shows asdelivered, with theemail.sentandemail.deliveredwebhooks (no opens or clicks: nobody reads it). Labels work too:success+signup@simulator.amazonses.com. - Simulator mail never affects your sending reputation, but each send still counts toward your plan's quota like any other email.
- The simulator's
bounce@,complaint@andsuppressionlist@addresses produce bounces and complaints that put the address on your team's suppression list and fire your webhooks as real ones do, but never count toward your bounce or complaint rate or pause sending. Each address is suppressed after its first use, so add a label for a fresh one:bounce+2@simulator.amazonses.com. - Addresses at
example.com, or under.testor.invalid, can't receive mail, so a send to one is refused with a422(see Errors).
Next steps
- Concepts for contacts, segments, topics, and broadcasts.
- SDKs for using the official Resend SDKs with Ritto Mail.
- API reference for every endpoint.
- Migrate from Resend for moving an existing integration.