Webhook validation action HTTP request
This topic provides an overview of the properties in a webhook validation action request and shows a sample request.
Important
When you send a webhook validation action request, the destination endpoint must send a response to validate the command. Otherwise, the workflow action fails and the item does not change its state.
Properties in a webhook validation action request
Every webhook validation action request payload contains the following properties that provide information about the webhook and the action that occurred:
| Property | Value type | Description |
|---|---|---|
| ActionID | GUID | The processor item ID. Determines which specific webhook sent the data. |
| ActionName | string | The processor item name. Determines which specific webhook sent the data. |
| Comments | string | The text from the comment fields. |
| DataItem | Item | The item that contains the webhook that triggered. |
| Message | string | Provides details if an error occurs during the action. |
| NextState | WorkflowState | The state that you want the item to move to. If you insert a submit action webhook in a state, NextState returns null. |
| PreviousState | WorkflowState | The state that the item moves from. |
| UserName | string | The user that initiated the workflow action. |
| WorkflowName | string | The name of the workflow that the item uses. |
| WebhookItemId | GUID | The ID of the webhook item that subscribed to the event and was triggered. |
| WebhookItemName | string | The webhook item name. |
Sample webhook validation action request in JSON format
The following is an example of a webhook validation action request in JSON format:
If you have suggestions for improving this article, let us know!