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.

Features

Every event, posted to your endpoint.

Delivered, opened, bounced or received: each event is a signed request to an address of yours. A delivery that fails is tried again, and every attempt is listed.

Get startedRead the docs
email.bouncedevt_09:wh_01
Trying
POSThttps://example.com/hooks/mail
  1. Try 1

    At once

    Posting

  2. Try 2

    1 min later
  3. Try 3

    5 min later
  4. Try 4

    30 min later
  5. Try 5

    2 h later
  6. Try 6

    8 h later
  • 14 events

    For the email you send, the mail you receive and your automations.

  • 5 seconds

    For your endpoint to answer.

  • 6 tries

    Before a delivery is marked failed.

  • 30 days

    Every delivery stays in the list.

Events

Pick the events you want.

An endpoint is told about the events it asked for, and about all of them when it asked for none. Each one has the same envelope: an id, a type, a time and its data.

  • email.sent
    {  "id": "evt_06",  "type": "email.sent",  "createdAt": "2026-11-27T09:30:00.000Z",  "data": {    "emailId": "em_11",    "from": "Acme <hello@mail.example.com>",    "to": [      "ada@example.com"    ],    "subject": "Your receipt for November",    "tags": {      "category": "receipt"    },    "detail": "",    "createdAt": "2026-11-27T09:30:00.000Z",    "templateId": null,    "broadcastId": null,    "mode": "live"  }}
email.sent
{  "id": "evt_06",  "type": "email.sent",  "createdAt": "2026-11-27T09:30:00.000Z",  "data": {    "emailId": "em_11",    "from": "Acme <hello@mail.example.com>",    "to": [      "ada@example.com"    ],    "subject": "Your receipt for November",    "tags": {      "category": "receipt"    },    "detail": "",    "createdAt": "2026-11-27T09:30:00.000Z",    "templateId": null,    "broadcastId": null,    "mode": "live"  }}
Signature

Check that a request is yours.

Anyone can post to a public address. Every request carries a signature made with the secret of the endpoint, and the SDK checks it in one call.

A real request, with the headers and the signature your endpoint gets.

POSThttps://example.com/hooks/mail
content-type: application/jsonuser-agent: OpenSend-Webhooks/1opensend-signature: t=1795771800,v1=80db0d952157c00a6643299af13e738f4e2943f1f747cab20abb93272c91ef4fopensend-event: email.deliveredopensend-delivery: evt_07:wh_01
Body
{  "id": "evt_07",  "type": "email.delivered",  "createdAt": "2026-11-27T09:30:00.000Z",  "data": {    "emailId": "em_12",    "from": "Acme <hello@mail.example.com>",    "to": [      "ada@example.com"    ],    "subject": "Your receipt for November",    "tags": {      "category": "receipt"    },    "detail": "250 2.0.0 OK",    "createdAt": "2026-11-27T09:30:00.000Z",    "templateId": null,    "broadcastId": null,    "mode": "live"  }}
Your handler
import { OPENSEND_SIGNATURE_HEADER, OpenSendError, verifyWebhook } from '@open-send/opensend' export default {  async fetch(request: Request): Promise<Response> {    const payload = await request.text()    try {      const event = await verifyWebhook({        payload,        signature: request.headers.get(OPENSEND_SIGNATURE_HEADER),        secret: process.env.WEBHOOK_SECRET ?? '',      })      if (event.type === 'email.bounced') {        console.log(event.data.emailId, event.data.detail)      }      return new Response('ok')    } catch (error) {      if (error instanceof OpenSendError) return new Response(error.message, { status: 400 })      throw error    }  },}
  • Signed

    HMAC-SHA256 over the time and the raw body, with the secret of the endpoint.
  • Fresh

    The SDK refuses a request that is more than 5 minutes old.
  • Shown once

    The secret is in the answer that adds the endpoint, and never again.
  • Testable

    The docs print this request with its secret, so you can test your own check.
Retries

A failed delivery is tried again.

Answer with any 2xx status within 5 seconds. Anything else is tried again after 1 min, 5 min, 30 min, 2 h, 8 h, and after 6 tries the delivery is marked failed.

  • No redirects

    A redirect counts as a failure and is never followed.

  • One id

    A delivery keeps its id on every try, so a repeat is easy to ignore.

  • Kept 30 days

    With its state, the last answer and what went wrong.

  • Test event

    Post a signed sample to an endpoint and read what it answered.

Console

Every attempt is listed.

Each endpoint shows its last answer. Open one to see every delivery with its result, the answer and the number of tries. From the same menu you send a test event or switch the endpoint off.

EndpointEventsStatusLast deliveryCreated
https://example.com/hooks/mail
delivered, bounced
Enabled
200 · 2 minutes ago
12 Nov 2026
https://api.example.org/events/email
opened, clicked
Enabled
200 · 1 hour ago
14 Nov 2026
https://ops.example.net/alerts
bounced, complained, failed
Enabled
503 · 3 hours ago
20 Nov 2026
https://example.com/hooks/inbound
received
Disabled
Never
21 Nov 2026
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.

Questions

Before you listen.

Short answers about webhooks.

A public https address. An IP address, localhost and private names are refused, and a redirect is never followed.

Every request carries a signature made with the secret of the endpoint. The SDK checks it in one call, and the docs show how to check it by hand.

The delivery is tried again after 1 min, 5 min, 30 min, 2 h, 8 h. After 6 tries it is marked failed, and it stays in the list with what went wrong.

Yes, when a try reached your endpoint and its answer did not reach us. A delivery keeps its id on every try, so keep the ids you have handled and ignore a repeat.

Not yet. Retries are automatic, and you can post a signed test event to an endpoint at any time.

The 14 on this page: what happens to an email you send, mail that arrives, and the runs of an automation. An endpoint made without a list gets all of them.

More in Features

  • All featuresEverything the platform does, from one send to a whole audience.
  • Email APISend one email or a batch, now or at a time you set.
  • TemplatesWrite an email once, with variables, and publish it.
  • InboundMail sent to your domain arrives as an event you can read.
  • Soon
    SMTPSend from anything that speaks SMTP.
  • BroadcastsOne email to a whole audience, now or on a schedule.
  • AudiencesContacts in groups, with who unsubscribed.
  • AutomationsA flow of emails and waits, drawn one step at a time.
  • SuppressionsThe addresses you must not send to, in one list.
  • DomainsSPF, DKIM and DMARC records, checked against live DNS.
  • API keysFull access, or sending only.
  • MetricsDelivery, opens and clicks, with bounce and complaint rates.
  • LogsEvery call a key makes, with its status and its time.

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