OpenSend is open source.Star us on GitHub0
by
  • Features
  • Pricing
  • Self-host
  • AI
  • Docs
0Sign inGet started

Features

  • All features
  • Email API
  • Templates
  • Inbound
  • Webhooks
  • SMTP
  • Broadcasts
  • Audiences
  • Automations
  • Suppressions
  • Domains
  • API keys
  • Metrics
  • Logs

AI

  • Agents
  • Claude
  • Claude Code
  • Cursor
  • Codex
  • GitHub Copilot
  • Gemini CLI
  • v0
  • Bolt
  • Lovable
  • Replit
  • Ask anything

Docs

  • Getting started
  • Webhook guide
  • Sandbox
  • Template gallery
  • React Email
  • Changelog
  • API reference
  • SDK
  • CLI
  • MCP server

Help

  • Support
  • Status
  • Migrate from Resend

Company

  • About
  • Blog
  • Contact
  • Security

Self-host

  • Self-hosting
  • Source on GitHub
  • Nextmail
by
PricingTermsPrivacy
StatusChecking the API

© 2026 OpenSend. All rights reserved.

Help

Move from Resend and keep your code.

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.

Get startedRead the docs
Your code, with one setting added
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.

The move

Four steps, in your own time.

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.

Where each SDK reads the address
SDKSettingEnds in a slash
Node.jsRESEND_BASE_URL, or baseUrlNo
PythonRESEND_API_URL, or resend.api_urlNo
Go, PHP, RubyRESEND_BASE_URLYes
SDK
Node.js
Setting
RESEND_BASE_URL, or baseUrl
Ends in a slash
No
SDK
Python
Setting
RESEND_API_URL, or resend.api_url
Ends in a slash
No
SDK
Go, PHP, Ruby
Setting
RESEND_BASE_URL
Ends in a slash
Yes
The import

What comes over, and how it arrives.

In 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.

The same account, made again here.

What an import brings
At ResendHere
DomainsThe same domains, waiting for their DNS records
Suppression listThe same addresses on the list here
SegmentsAudiences with the same names
ContactsThe same people, once each, subscribed or not, in the audience of each segment
Contact propertiesThe same properties with their types and fallbacks, and what each contact holds
TopicsThe same topics, and what each contact chose
TemplatesThe same templates, published when they were, under the same alias
BroadcastsThe drafts. Sent ones stay at Resend
WebhooksThe same endpoints with the signing secret they already check
API keysTheir names, so you know which to enroll
At Resend
Domains
Here
The same domains, waiting for their DNS records
At Resend
Suppression list
Here
The same addresses on the list here
At Resend
Segments
Here
Audiences with the same names
At Resend
Contacts
Here
The same people, once each, subscribed or not, in the audience of each segment
At Resend
Contact properties
Here
The same properties with their types and fallbacks, and what each contact holds
At Resend
Topics
Here
The same topics, and what each contact chose
At Resend
Templates
Here
The same templates, published when they were, under the same alias
At Resend
Broadcasts
Here
The drafts. Sent ones stay at Resend
At Resend
Webhooks
Here
The same endpoints with the signing secret they already check
At Resend
API keys
Here
Their names, so you know which to enroll
Reference

Every method, on every surface.

Declared once: a REST endpoint, an SDK call, a CLI command and, wherever a program may use it, an MCP tool.

Webhooks

Your endpoints keep verifying.

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.

The check your code already does
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,})
Differences

What is not the same.

Six things behave differently here. Better to read them now than to meet them in production.

  • Mail leaves from here

    Never through Resend. A domain sends once its records here are verified.
  • Values are escaped

    A value passed for a template variable is escaped in HTML. Resend puts it in as written.
  • One contact for an address

    Creating a contact whose address exists is refused. Add that contact to a segment instead.
  • Four fields are refused

    A topic on a single email, an inline image by content id, more than one reply address and sending a new broadcast in the same call. Each is refused by the name of its field.
  • A secret is shown once

    A webhook is never read again with its secret. Make a new one to get a new secret.
  • History stays

    Opens, clicks and the mail sent before the move stay at Resend.
Questions

Questions.

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.

More in Help

  • SupportAsk a question or report a problem.
  • StatusA live check of the API, from your browser.
  • DocsFrom a key to a first email in a few minutes.

Send your first email in a few minutes.

Create a key and send, or clone the repository and run it yourself.

Get startedStar on GitHub0