Webhook event handler HTTP request
Version:
This topic provides an overview of the properties in a webhook event handler request and displays a sample request.
Webhook event handler common properties
Webhook event handler common properties
A webhook event handler request payload contains the following properties that identify the webhook item and the event that occurred:
Event-specific properties
Event-specific properties
Each event contains event-specific properties. The following table describes the event-specific properties, with events that share identical properties grouped in the same row:
| EventName | Property | Value type | Description |
|---|---|---|---|
item:addeditem:versionAddeditem:cloneAddeditem:lockeditem:unlockeditem:versionRemoveditem:deleting | Item | Item | The affected item. |
item:deleted | Item | Item | The affected item. |
ParentID | Guid | The parent ID of the removed item. | |
item:saved | Item | Item | The saved item. |
Changes | ItemChanges | Information about the changes made to the item. | |
item:copied | Source | Item | The original item. |
Copy | Item | The copy of the original item. | |
item:moved | Item | Item | The moved item. |
OldParentID | Guid | The previous parent of the item. | |
item:renamed | Item | Item | The renamed item. |
OldName | string | The old name of the item. | |
item:sortorderchanged | Item | Item | The affected item. |
OldValue | string | The previous item sort order. | |
item:templateChanged | Item | Item | The affected item. |
TemplateChanges | TemplateChanges | Information about the changes made to the item's template. | |
publish:beginpublish:end | PublisherOptions | PublisherOptions | The basic publish information. |
publish:statusUpdated | Status | StatusChanges | Publish progress information. |
publish:fail | PublisherOptions | PublisherOptions | The basic publish information. |
Exception | Exception | Information about the exception that occurred during publish attempt. |
Sample webhook event handler request in JSON format
Sample webhook event handler request in JSON format
The following is an example of a webhook event handler request in JSON format, informing that an item was added:
If you have suggestions for improving this article, let us know!