Webhooks Overview
How webhooks work
Section titled “How webhooks work”Venmail sends HTTP POST requests to your configured endpoint when email events occur (delivery, bounce, open, click, etc.).
- In the Venmail dashboard, go to Settings > Integrations
- Create a new webhook integration
- Enter your endpoint URL
- Select the events you want to receive
- Copy the webhook secret for signature verification
Payload format
Section titled “Payload format”{ "event": "MessageDelivered", "timestamp": 1743339600, "payload": { "id": 1234, "token": "abc123", "server_id": 1, "subject": "Welcome!", "timestamp": 1743339600, "status": "Sent", "details": "Message delivered to remote server" }}Delivery guarantees
Section titled “Delivery guarantees”- Webhooks are delivered at least once
- Your endpoint should return
2xxwithin 5 seconds - Failed deliveries are retried with exponential backoff
- Duplicate detection: use the message
tokenas an idempotency key
Supported events
Section titled “Supported events”See Event Types for the full list.
Security
Section titled “Security”All webhook payloads include a signature header for verification. See Signature Verification.