Skip to content

Lettermint email event webhook

POST
/api/v1/webhooks/lettermint
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.

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

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