Docs
Webhooks

Create Webhook

Register an endpoint. Save the signing_secret to verify requests.

POST/webhooks

Body Parameters

endpointstringrequired
Your HTTPS URL.
eventsstring[]
Events to send. Default: all. See Webhooks › Event types.
import { Resend } from 'resend';

const client = new Resend('pw_xxxxxxxxx');

const { data, error } = await client.webhooks.create({
  endpoint: 'https://example.com/webhooks/email',
  events: ['email.delivered', 'email.bounced'],
});
Try itPOST/webhooks

No key yet? Create one in the dashboard.