Point the Resend SDK at this API, enroll the keys your programs hold, bring the account over with one request, and move each domain when you are ready.
import { Resend } from 'resend' const resend = new Resend(process.env.RESEND_API_KEY, { baseUrl: 'https://api.opensend.sh/v1/resend',}) await resend.emails.send({ from: 'Acme <hello@mail.example.com>', to: 'ada@example.com', subject: 'Your receipt', html: '<p>Thanks for your order.</p>',})One setting
The address the SDK calls. The code stays.
Your keys
Enrolled, kept as a hash, working here.
One request
Brings the account over in the background.
Run it again
What is here already is left alone.
Nothing has to happen at once. A program moves when you change the address it calls, and a domain when its records here are verified.
RESEND_BASE_URL, or baseUrlRESEND_API_URL, or resend.api_urlRESEND_BASE_URLIn the console it is under Settings, Import. A key is enrolled from API keys, behind the three dots.
Nothing arrives ready to send
A broadcast comes as a draft, and no contact starts an automation.
It reads politely
A few requests a second, and it waits when asked to.
The key is sealed
While the import runs, and wiped when it ends.
Old ids keep working
A template, a segment, a domain, a contact or a topic answers to the id it had.
Declared once: a REST endpoint, an SDK call, a CLI command and, wherever a program may use it, an MCP tool.
An endpoint that came over gets the same headers and the same body, signed with the secret it already checks.
Never twice
An endpoint is only told about mail sent from here.
Two formats
A new endpoint gets the format of this API unless you ask for the other.
const event = resend.webhooks.verify({ payload: await request.text(), headers: { id: request.headers.get('svix-id'), timestamp: request.headers.get('svix-timestamp'), signature: request.headers.get('svix-signature'), }, webhookSecret: process.env.RESEND_WEBHOOK_SECRET,})Six things behave differently here. Better to read them now than to meet them in production.
Mail leaves from here
Values are escaped
One contact for an address
Four fields are refused
A secret is shown once
History stays
What people ask before they move.
No. A program moves when you change the address it calls, and a domain when its records here are verified. Until then mail goes on leaving from Resend.
No. Mail you send here leaves from here.
Most of it is quick. What each contact holds and what they chose for a topic take one request for each contact, so those two parts of a large account take hours. Leave them out to finish sooner, and run the import again later for them.
They stay at Resend. Drafts come over as drafts.
Not yet. They are counted when you look, with their events, and left behind.
No. OpenSend is an independent project. Resend is a trademark of its owner.
Create a key and send, or clone the repository and run it yourself.