Docs / Quickstart

Quickstart

reSES implements the Resend API. If you already use Resend, you can switch in one line — keep the SDK, point it at reSES, and authenticate with a reSES key (they start with frs_).

Install the SDK

Use the official Resend SDK for your language. No reSES-specific package is required.

npm
npm install resend

Configure the base URL

Set RESEND_BASE_URL to your reSES API endpoint and use your reSES API key.

.env
RESES_API_KEY="frs_live_…"
RESEND_BASE_URL="https://api.reses.io"

Send your first email

server.ts
import { Resend } from "resend";

const resend = new Resend(process.env.RESES_API_KEY);

const { data, error } = await resend.emails.send({
  from: "you@mail.acme.dev",
  to: ["dana@example.com"],
  subject: "Hello from reSES",
  html: "<strong>it works!</strong>",
});

Every send shows up in your dashboard within seconds, with a live event timeline.