Webhooks
Receive real-time HTTP notifications when email events occur
No webhooks yet
Create your first webhook endpoint to receive real-time email event notifications.
Webhook Details
Create Webhook
Signing Secret
Use this secret to verify webhook signatures. It will only be shown once when created or regenerated.
Verification example (Node.js):
const crypto = require('crypto');
function verifySignature(payload, signature, secret) {
const expected = 'sha256=' +
crypto.createHmac('sha256', secret)
.update(payload).digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expected)
);
}
// In your endpoint handler:
const sig = req.headers['x-devvmail-signature'];
const valid = verifySignature(
JSON.stringify(req.body), sig, 'YOUR_SECRET'
);