Webhooks
Create webhook
POST
cURL
Creates a webhook. The response includes its signing secret. An empty
eventTypes sends every event, and an empty or missing domainIds covers every domain.
Needs an API key with full access. Not available to a key limited to one domain.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The events sent to the URL. Empty means every email, contact and domain event. Mailbox, campaign and automation events are only sent when chosen by name.
Available options:
contact.created, contact.updated, contact.deleted, domain.created, domain.verified, domain.updated, domain.deleted, email.queued, email.sent, email.delivery_delayed, email.delivered, email.bounced, email.rejected, email.rendering_failure, email.complained, email.failed, email.cancelled, email.suppressed, email.opened, email.clicked, mailbox.message.received, mailbox.message.sent, mailbox.thread.assigned, mailbox.thread.status_changed, campaign.scheduled, campaign.sent, automation.run.started, automation.run.completed, automation.run.failed, webhook.test Maximum string length:
500Maximum array length:
500Required string length:
1 - 64Your own signing secret. Made for you when left out.
Minimum string length:
16Response
The new webhook, with its signing secret
Available options:
ACTIVE, PAUSED, AUTO_DISABLED Domain ids it is limited to; empty means every domain
Domains it was limited to that have since been deleted
The signing secret, whsec_...