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.
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.
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.
{ "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" }}{ "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" }}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.
content-type: application/jsonuser-agent: OpenSend-Webhooks/1opensend-signature: t=1795771800,v1=80db0d952157c00a6643299af13e738f4e2943f1f747cab20abb93272c91ef4fopensend-event: email.deliveredopensend-delivery: evt_07:wh_01{ "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" }}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
Fresh
Shown once
Testable
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.
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.
Declared once: a REST endpoint, an SDK call, a CLI command and, wherever a program may use it, an MCP tool.
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.
Create a key and send, or clone the repository and run it yourself.