Webhooks
Kasplo Webhooks stream real-time HTTP POST notifications directly to your application backend as messages transition through their delivery lifecycle and recipients interact with your emails.
Using webhooks eliminates the need for polling and allows you to automate downstream workflows—such as updating customer status, triggering internal alerts on hard bounces, recording unsubscribes, and tracking engagement in your data warehouse.
Key Capabilities
Profile-Level Granularity: Configure independent webhook endpoints for each sending profile in your account.
Multi-Endpoint Fan-Out: Route different event categories (e.g. deliverability vs engagement) to separate microservice endpoints.
Flexible Security: Authenticate incoming webhooks using OAuth2, Bearer Tokens, Custom API Key Headers, or HTTP Basic Auth.
Comprehensive Event Coverage: Real-time events for message acceptance, dispatch, external delivery attempts, bounces, suppressions, opens, clicks, unsubscribes, and spam complaints.
Supported Authentication Types
OAuth2
Authorization: Bearer <TOKEN>
Kasplo fetches a bearer token from your OAuth2 token endpoint using client credentials.
Bearer
Authorization: Bearer <TOKEN>
Kasplo sends your configured static bearer token.
API Key
X-Custom-Header: <KEY>
Kasplo sends your key in a custom header of your choice (e.g., X-Webhook-Secret).
Basic
Authorization: Basic <CREDENTIALS>
Standard HTTP Basic base64-encoded username and password.
None
None
Unauthenticated. Use only when the endpoint is secured by IP whitelisting or mutual TLS.
Event Categories
Section Guide
Configure Webhooks: Step-by-step endpoint creation, authentication configuration, and operational best practices.
Webhook Events: Detailed breakdown of event types, status codes, and cross-mapping to dashboard metrics.
Webhook Payload Reference: Exact JSON schemas, payload examples, and common metadata fields for all events.
Last updated