Webhooks
Webhooks notify your application when email events occur in real-time.How Webhooks Work
1
Event Occurs
An email is sent, delivered, opened, etc.
2
Lettr Sends Webhook
A POST request is sent to your endpoint.
3
You Process
Your server processes the event and responds.
Create a Webhook
Webhook Payload
Handle Webhooks
Available Events
| Event | Description |
|---|---|
email.sent | Email accepted by Lettr |
email.delivered | Email delivered to recipient |
email.bounced | Email bounced |
email.opened | Recipient opened the email |
email.clicked | Recipient clicked a link |
email.complained | Marked as spam |
email.unsubscribed | Recipient unsubscribed |