Lettermint email event webhook
POST
/api/v1/webhooks/lettermint
const url = 'https://api.deploybase.eu/api/v1/api/v1/webhooks/lettermint';const options = {method: 'POST', headers: {'X-Lettermint-Signature': 'example'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.deploybase.eu/api/v1/api/v1/webhooks/lettermint \ --header 'X-Lettermint-Signature: example'Receives bounce and spam-complaint events from Lettermint and suppresses the affected addresses. Public route with no auth middleware: the HMAC-SHA256 signature in X-Lettermint-Signature, verified over the raw body, is the only gate. Not called by clients.
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “ Header Parameters ” X-Lettermint-Signature
required
string
HMAC signature, format t={timestamp},v1={hex}
X-Lettermint-Delivery
string
Unix timestamp of the delivery, cross-checked against the signature
Responses
Section titled “ Responses ”Event processed, or deliberately ignored
Media type application/json
Body could not be read or parsed
Media type application/json
Signature missing, invalid, or outside the tolerance window
Media type application/json
Processing failed — Lettermint should retry
Media type application/json