Webhook Integration Guide
Webhooks allow your system to receive real-time notifications when email events happen (like Delivered, Opened, Clicked, Bounced).
Setting up a Webhook
- Go to API Settings in your Dashboard.
- Click "Add Webhook Endpoint".
- Enter the URL of your server that will listen for POST requests.
- Select the events you want to subscribe to (e.g., `email.sent`, `email.opened`).
Payload Example
{
"event": "email.opened",
"timestamp": 1672531200,
"data": {
"email_id": "msg_123xyz",
"recipient": "[email protected]",
"campaign_id": "cmp_abc789"
}
}