Create Webhook
Creates a new webhook to receive real-time notifications for specified events.
Use this to:
- Set up event notifications for transactional or marketing emails
- Configure webhook endpoints for campaign tracking
- Enable real-time monitoring of email delivery status
- Subscribe to contact list changes and updates
- Implement custom event handling and automation
Key information returned:
- Created webhook ID and configuration
- Success confirmation and setup details
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Request
Values to create a webhook
events
- Events triggering the webhook. Possible values for
**Transactional** type webhook: #### `sent` OR `request`,
`delivered`, `hardBounce`, `softBounce`, `blocked`, `spam`,
`invalid`, `deferred`, `click`, `opened`, `uniqueOpened` and
`unsubscribed` - Possible values for **Marketing** type webhook:
#### `spam`, `opened`, `click`, `hardBounce`, `softBounce`,
`unsubscribed`, `listAddition` & `delivered` - Possible values
for **Inbound** type webhook: #### `inboundEmailProcessed` -
Possible values for type **Transactional** and channel **SMS**
####
`accepted`,`delivered`,`softBounce`,`hardBounce`,`unsubscribe`,`reply`,
`subscribe`,`sent`,`blacklisted`,`skip` - Possible values for
type **Marketing** channel **SMS** ####
`sent`,`delivered`,`softBounce`,`hardBounce`,`unsubscribe`,`reply`,
`subscribe`,`skip`
url
URL of the webhook
auth
Add authentication on webhook url
batched
To send batched webhooks
channel
channel of webhook
Allowed values:
description
Description of the webhook
domain
Inbound domain of webhook, required in case of event type
inbound
headers
Custom headers to be send with webhooks
type
Type of the webhook
Allowed values:
Response
successfully created
id
ID of the object created