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

# webhookSamplePayload Query

Retrieve a sample payload for a given webhook event based on real data. It can be useful for some integrations where sample payload is required.

```graphql
webhookSamplePayload(
  eventType: WebhookSampleEventTypeEnum!
): JSONString
```

<a id="arguments"></a>

### Arguments

<a id="event-type"></a>

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

Name of the requested event type.

<a id="type"></a>

### Type

<a id="jsonstring"></a>

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