Migrate from Resend
Move from Resend to exx.sh by changing the base URL and the API key. Payloads, error names and webhook signatures stay the same; this page lists what differs.
exx.sh speaks Resend's API for sending: the same paths, fields, status codes, error names and webhook signatures for emails, batches, domains, API keys, webhooks, templates, contacts, segments, topics and broadcasts. Code that only uses those moves by changing two values, the base URL and the API key. Our contract suite runs Resend's own SDKs against exx.sh on every change to prove it.
A migration takes four steps. Your Resend setup keeps working until you switch, so you can move one service at a time.
1. Point your code at exx.sh
Create an exx.sh API key in the dashboard (API keys), then set the base URL in the Resend SDK you use:
| SDK | Setting |
|---|---|
Node.js (resend) | new Resend(key, { baseUrl: "https://api.exx.sh" }) |
Python (resend) | RESEND_API_URL=https://api.exx.sh |
Go (resend-go) | RESEND_BASE_URL=https://api.exx.sh/ |
Pass your exx.sh key wherever your code passes the Resend key. The Node.js change in full:
import { Resend } from "resend";
// Before: const resend = new Resend(process.env.RESEND_API_KEY);
const resend = new Resend(process.env.EXX_API_KEY, { baseUrl: "https://api.exx.sh" });
await resend.emails.send({
from: "Acme <hello@acme.com>",
to: ["delivered@example.com"],
subject: "Your sign-in link",
html: "<p>Click the link to sign in.</p>",
});You can also switch to our SDKs: they have the same resources, plus delivery attempts, transcripts and the suppression list.
Import configuration and contacts
The dashboard's Resend import copies domains, properties, topics, static segments, contacts and memberships, templates and webhooks into a project. Run a dry run first. The key is held in memory only; new webhook signing secrets are shown once. Imports preserve unsubscribes, and re-running keeps matching objects. Domains still need exx.sh's DNS records and verification before sending.
2. Add your domain and its records
Domains do not move between providers. Add your domain in exx.sh and add the records it lists. The DKIM and return-path records have their own names, so they sit next to Resend's and both providers can send from the domain during the move. Keep one DMARC record for the domain.
3. Point your webhooks at the same handler
Create a webhook in exx.sh with the same endpoint URL and events. exx.sh signs deliveries
with the same Standard Webhooks headers (svix-id, svix-timestamp, svix-signature), so
your verification code stays; only the signing secret changes. While both providers send to
one endpoint, each signs with its own secret: check a delivery against both secrets, or give
exx.sh its own endpoint path until the move is done.
4. Send a test and switch traffic
Send one email through exx.sh and open it in the dashboard: its attempts show the receiving server's reply. Then move traffic over, one service at a time, and remove the Resend records once nothing sends through Resend.
SMTP
Use host smtp.exx.sh, port 587 or 465, and your exx.sh API key as the password. The
username resend is accepted as well as exx, so a copied configuration keeps working.
Port 25, 2465 and 2587 are not available; the SMTP guide has the full
settings.
What differs
| Topic | Resend | exx.sh |
|---|---|---|
| Keys | re_... | exx_... (the SDKs do not check the prefix) |
| Region | several | eu-west-1 only (EU-hosted) |
| Rate limit | 10 requests a second per team | per organization, by plan (rate limits and quotas) |
| Quota headers | x-resend-daily-quota, x-resend-monthly-quota | not sent; the dashboard shows usage |
scheduled_at | ISO 8601 or natural language | ISO 8601 or in <n> <unit> (in 1 hour) |
react | rendered by the Node.js SDK | the same: Resend's Node.js SDK and our TypeScript SDK render it before sending |
| Templates | create, publish, edit and duplicate; send with template | the same templates API and template on a send; variable values are HTML-escaped in the HTML |
| Topics | subscription preferences | topics, with public/private visibility and optional double opt-in |
| Open and click tracking | optional | optional per domain, off by default; project scope defaults to broadcasts |
| Contacts | contacts and properties | project-scoped contacts, case-insensitive addresses, typed properties and erasure |
| Segments and legacy audiences | lists | static segments and dynamic rules; an audience is a static segment, one contact across lists in a project |
| Broadcasts | segment sends | broadcasts, review holds, A/B tests and local-time scheduling |
| Receiving email | supported | supported: a project address with no setup, or your domain's MX; html_format is always cid |
| Events | POST /events/send, events.send | the same request and answer (202 {object, event}); an unknown address becomes an unsubscribed contact; POST /events also takes the occurrence time |
| SMTP ports | 25, 465, 587, 2465, 2587 | 465 and 587 |
User-Agent header | required | optional |
| Extras | delivery attempts with SMTP transcripts, a suppression list API, X-Exx-Stream, address verification |
Common questions
Do my Resend webhooks keep working?
Yes. exx.sh sends the event types your handler knows (email.sent, email.delivered,
email.bounced and the rest) with the same payload shape and signature headers. Subscribing
to email.opened and email.clicked emits first hits only, with one more for the first
human hit if a machine hit came first. Their payloads add first and machine.
Contacts emit created, updated and deleted events, except per-row import events.
Topic choices emit contact.updated, not separate topic events.
See tracking for these differences.
Can I move my suppression list?
Add each address with POST /suppressions; exx.sh then skips it like any address that
bounced or complained. The list is per project.
Does exx.sh cost more than Resend?
exx.sh Pro includes twice the monthly volume of Resend Pro at the same price. The pricing page lists every plan, and the comparison sets the two side by side with sources.