> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/webhooks/llms.txt)
> Source: https://docs.saleor.io/api-reference/webhooks/inputs/webhook-update-input

# WebhookUpdateInput Input Type

No description

```graphql
input WebhookUpdateInput {
  name: String
  identifier: String
  targetUrl: String
  events: [WebhookEventTypeEnum!] @deprecated
  asyncEvents: [WebhookEventTypeAsyncEnum!]
  syncEvents: [WebhookEventTypeSyncEnum!]
  app: ID
  isActive: Boolean
  secretKey: String @deprecated
  query: String
  customHeaders: JSONString
}
```

<a id="fields"></a>

### Fields

<a id="name"></a>

#### [`name`](#name) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The new name of the webhook.

<a id="identifier"></a>

#### [`identifier`](#identifier) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The unique identifier of the webhook, set by the app. Unique per app. Maximum length is 256 characters. Pass a blank value to clear it.

Added in Saleor 3.23

<a id="target-url"></a>

#### [`targetUrl`](#target-url) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

The url to receive the payload.

<a id="async-events"></a>

#### [`asyncEvents`](#async-events) ● [`[WebhookEventTypeAsyncEnum!]`](/api-reference/webhooks/enums/webhook-event-type-async-enum.md)

The asynchronous events that webhook wants to subscribe.

<a id="sync-events"></a>

#### [`syncEvents`](#sync-events) ● [`[WebhookEventTypeSyncEnum!]`](/api-reference/webhooks/enums/webhook-event-type-sync-enum.md)

The synchronous events that webhook wants to subscribe.

<a id="app"></a>

#### [`app`](#app) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of the app to which webhook belongs.

<a id="is-active"></a>

#### [`isActive`](#is-active) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Determine if webhook will be set active or not.

<a id="query"></a>

#### [`query`](#query) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Subscription query used to define a webhook payload.

<a id="custom-headers"></a>

#### [`customHeaders`](#custom-headers) ● [`JSONString`](/api-reference/miscellaneous/scalars/jsonstring.md)

Custom headers, which will be added to HTTP request. There is a limitation of 5 headers per webhook and 998 characters per header.Only `X-*`, `Authorization*`, and `BrokerProperties` keys are allowed.

Show deprecatedHide deprecated

<a id="events"></a>

#### [`events`](#events) ● [`[WebhookEventTypeEnum!]`](/api-reference/webhooks/enums/webhook-event-type-enum.md)

DEPRECATED

Use `asyncEvents` or `syncEvents` instead.

The events that webhook wants to subscribe.

<a id="secret-key"></a>

#### [`secretKey`](#secret-key) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

DEPRECATED

As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.

Use to create a hash signature with each payload.

<a id="member-of"></a>

### Member Of

[`webhookUpdate`](/api-reference/webhooks/mutations/webhook-update.md) mutation
