Me Send DocsDashboard

Quickstart

You need an API key and one verified sending domain. Your project's operator gives you the first key (the dashboard or POST /api-keys makes more), and Domains shows how to verify a domain.

Send with the resend SDK

Point the SDK at Me Send with the baseUrl option.

import { Resend } from 'resend';

const resend = new Resend(process.env.ME_SEND_API_KEY, { baseUrl: 'https://api.mesend.co' });

const { data, error } = await resend.emails.send({
  from: 'Acme <hello@yourdomain.com>',
  to: ['ann@example.com'],
  subject: 'Hello',
  html: '<p>It works.</p>',
});
if (error) throw new Error(`${error.name}: ${error.message}`);
console.log(data.id);

The SDK also reads the RESEND_BASE_URL environment variable when no baseUrl is given, so you can switch an existing app without touching its code:

export RESEND_BASE_URL=https://api.mesend.co

The from address must be on a domain you have verified in this project, otherwise the API answers 403 validation_error.

Send with fetch

const response = await fetch('https://api.mesend.co/emails', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.ME_SEND_API_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'welcome-ann-2026-01',
  },
  body: JSON.stringify({
    from: 'Acme <hello@yourdomain.com>',
    to: ['ann@example.com'],
    subject: 'Hello',
    html: '<p>It works.</p>',
  }),
});
const body = await response.json(); // { "id": "..." } on success

Or with curl:

curl https://api.mesend.co/emails \
  -H "Authorization: Bearer $ME_SEND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"from":"Acme <hello@yourdomain.com>","to":["ann@example.com"],"subject":"Hello","text":"It works."}'

A send needs from, to, subject and at least one of html or text. The response is { "id": "<email id>" }. Read it back with GET /emails/:id; its last_event moves from sent to delivered (or bounced, complained, failed) as the provider reports.

Try it without sending

Add the header x-me-send-test: true to run every check (key, domain, caps, recipients, idempotency) and log the email, without handing anything to a delivery provider. See Sending.

Next