---
title: "Webhook validation action HTTP response"
slug: "webhook-validation-action-http-response"
abstract: "Overview of the webhook validation action HTTP response body."
---
# Webhook validation action HTTP response

This topic provides an overview of the properties in a webhook validation action response and displays sample responses.

When you send a webhook validation request, the destination endpoint must quickly return a response. If the endpoint does not respond and validate the command, the workflow action fails and the item does not change its state.

<details>
<summary><h2>Sample webhook validation action response in JSON format</h2></summary>

Webhook validation action response properties:

| Property | Value type | Description |
| --- | --- | --- |
| `IsValid` | Boolean | Indicates whether validation passed and the item can move to another state. |
| `Message` | string | Optional message to send with the response. |

An example of a response that validates a command and approves moving to the next state:

JSON:

```text
{"IsValid":true,"Message":""}

```

XML:

```text
<data><IsValid>true</IsValid><Message></Message></data>

```

An example of a response that rejects moving to the next state:

JSON:

```text
{"IsValid":false,"Message":"Error message will be seen on UI and logged."}

```

XML:

```text
<data><IsValid>false</IsValid><Message>Error message will be seen on UI and logged.</Message></data>

```

</details>

<details>
<summary><h2>Timeouts</h2></summary>

You can change the maximum response waiting time by modifying the `Sitecore.HttpClientTimeout` property in the `Sitecore.config` file.

The default maximum response waiting time is 3000 milliseconds. This value can be set to a maximum of 10000 milliseconds.

</details>