Webhooks
Update webhook
PATCH
cURL
Changes a webhook’s URL, description, events or domains, pauses it or turns it back on (
status), or makes a new signing secret (rotateSecret). The secret is in the response only when you rotate or set it.
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.
Path Parameters
Minimum string length:
1Example:
"clx1234567890"
Body
application/json
Maximum string length:
500The 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 array length:
500Required string length:
1 - 64Make a new signing secret, returned in the response
Minimum string length:
16Pause it, or turn it back on
Available options:
ACTIVE, PAUSED Response
The updated webhook. The signing secret is included only when rotateSecret or secret was sent.
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