---
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.

## Sample webhook validation action response in JSON format

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:

::::tabs
:::tab{title="JSON"}

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

:::
:::tab{title="XML"}

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

:::
::::

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

::::tabs
:::tab{title="JSON"}

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

:::
:::tab{title="XML"}

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

:::
::::

## Timeouts

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.