Webhook APIs

Learn how to use Webhook APIs V6.

Overview

The Webhook API allows you to configure and manage webhooks for various email events. Webhooks notify external systems in real-time when specified events occur, by sending POST requests to configured URLs.


Authentication

All requests require an API key passed in the Authorization header:

Authorization: Bearer <api_key>

Available Endpoints

Endpoint NameMethodEndpointDescription
Create WebhookPOST/v6/webhooksCreates a new webhook configuration.
List WebhooksGET/v6/webhooksRetrieves all configured webhooks.
Get WebhookGET/v6/webhooks/{id}Fetches details of a specific webhook.
Update WebhookPUT/v6/webhooks/{id}Replaces an existing webhook configuration.
Partial Update WebhookPATCH/v6/webhooks/{id}Updates specific fields in a webhook configuration.
Delete WebhookDELETE/v6/webhooks/{id}Deletes a webhook permanently.

Event Types

Event TypeDescription
deliveredEmail successfully delivered
bounceEmail bounced
openEmail opened
clickLink clicked in email
unsubscribeRecipient unsubscribed
spamMarked as spam
droppedEmail dropped
invalidInvalid email
scheduledEmail scheduled
cancelledEmail cancelled

Common Error Codes

Status CodeDescription
400Bad Request – Invalid parameters or validation
401Unauthorized – Invalid or missing API key
403Forbidden – Insufficient permissions
500Internal Server Error

Limitations

  • A maximum of 2 webhooks are allowed per client.
  • Webhook URLs must be valid and publicly accessible.
  • Only allowed event types are accepted.

📘

Notes

  • Webhooks deliver POST requests to configured URLs when events occur.
  • Custom headers are optional but must be provided in valid JSON format if used.
  • Webhook configurations are scoped per client account.