Webhook event handler configuration fields

Version:

This topic describes the webhook event handler fields and supported events.

Webhook event handler fields

You can configure a webhook event handler by configuring the fields in the Data and Information sections of the webhook.

A webhook event handler contains the following configurable fields:

FieldDescription
EnabledDetermines whether the webhook is enabled. If you select the check box, the webhook is active and sends requests. If you clear the check box, the webhook is disabled and does not send requests.
EventsDefines the events that send requests. You can find the list of supported events in the Supported events table. If you do not select any events, the webhook does not send requests.
RuleSpecifies which items will trigger requests. If you do not add rules, an event from any item will send a request.

We highly recommend that you define rules to avoid performance degradation caused by sending a large number of requests.
UrlThe endpoint that receives the requests. We recommend that you use a secure HTTPS URL.
Serialization TypeDefines the payload request type. The available formats are JSON and XML. JSON is selected by default. For XML requests, the default root element is event.
AuthorizationDefines the authorization item for the webhook. The drop-down menu contains all available authorization items. If the endpoint does not require authentication, leave this field blank.
DescriptionOptional text field to describe the webhook.

Supported events

A webhook event handler can send information about the following system events:

Event nameDescription
item:addedRaised when a new item from a template is added.
item:versionAddedRaised when a new version is added to the item.
item:cloneAddedRaised when a new cloned item is added.
item:deletedRaised when the item is deleted.
item:deletingRaised before deleting the item.
item:versionRemovedRaised when a version of the item is removed.
item:lockedRaised when the item is locked.
item:unlockedRaised when the item is unlocked.
item:savedRaised when at least one change is saved in the item. This event can occur multiple times during simple item operations on the UI.
item:copiedRaised when the item is copied.
item:movedRaised when the item is moved to another parent.
item:renamedRaised when the item is renamed.
item:sortorderchangedRaised when the sort order of the item changes.
item:templateChangedRaised when the item’s template changes.
publish:beginRaised when the publishing of the item starts.
publish:endRaised when the publishing of the item ends.
publish:failRaised when the publishing of the item fails.
publish:statusUpdatedRaised when the status of item publishing updates.
If you have suggestions for improving this article, let us know!