Resend-compatible API

You write it.We relay it.

One API call and Relayit renders, signs, queues, delivers and tracks your product's email. On our cloud or your servers.

POST /messages/email
x-api-key: rel_org_••••7c2d
idempotency-key: order-4821-shipped

{
  "from": "Fernwood Supply <[email protected]>",
  "to": "[email protected]",
  "template": {
    "id": "order-shipped",
    "variables": { "orderId": "4821" }
  }
}

Order #4821 is on its way

Your parcel left our workshop this morning. Tracking updates as it moves.

Track parcel
sentmsg_01jbxk7d4q…

One message, five stops.

Accept

Your request is validated and answered with a message id. An idempotency key makes retries safe.

POST /messages/emailidempotency-key: order-4821-shipped
201{ "id": "msg_01jbxk7d4qf3t9s2vw8cyh6m5n" }
Retry with the same key and you get the same id back. No second email.
201{ "id": "msg_01jbxk7d4qf3t9s2vw8cyh6m5n" }

Render

Name a published React Email template. Its variables are filled in at send time.

order-shipped{ "orderId": "4821" }

Order #4821 is on its way

Your parcel left our workshop this morning. Tracking updates as it moves.

Track parcel

Sign

Mail leaves from your verified domain, signed with a DKIM key generated just for it.

fernwood.shopVerified
TXTrelayit3f9a1c2e._domainkeyDKIM
TXT_dmarcDMARC
MXsendReturn path
TXTsendSPF

Deliver

Work waits for scheduled_at if you set one, and failed attempts are retried.

  1. queued"scheduled_at": "2026-11-02T09:00:00Z"
  2. sendingProvider timed out. Retrying.
  3. sendingRetried and accepted by the provider.
  4. sent[email protected]

Leaving Resend is a two-line diff.

api.resend.com/emails

api.relayit.io/messages/email

Authorization: Bearer re_…

x-api-key: rel_org_…

Every field in your request body keeps its name and shape:

fromtoccbccsubjecthtmltextreply_toheadersattachmentstagsscheduled_at

Same API. Pick who runs it.

Relayit runs

  • API and job worker
  • Dashboard
  • Postgres
  • Redis
  • Object storage
  • Sending provider
  • Plans and send limits
  • Releases and images

You run

  • Your domain's DNS

Sign up, verify a domain and send. We operate the queue, the workers and the providers behind them.

Start sending

At 40,000 emails a month, Signal covers it for $15 a month.

1k2M

Prices in USD. Annual billing gets two months free.

Free

For side projects and trying the API.

$0/ forever

  • 2,500 emails a month, 80 a day
  • 1 project, 1 custom domain
  • 7 days of message history
Start sending

Signal

Fits your volume

For products with real users.

$15/ month

  • 40,000 emails a month
  • 3 projects, unlimited domains
  • 30 days of message history
Start sending

Broadcast

For high volume.

$99/ month

  • 200,000 emails a month
  • 5 projects, unlimited domains
  • 90 days of message history
Start sending

Self-hosted $0, no send limits

Run the same API on your own servers. Every feature, no plans.

Self-hosting guide

Relay it.

Create a project, grab an API key and send a test email from the sandbox domain in a few minutes.