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

  1. Go to API Settings in your Dashboard.
  2. Click "Add Webhook Endpoint".
  3. Enter the URL of your server that will listen for POST requests.
  4. 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"
  }
}