# Webhook payload snippet

> Reference a webhook payload from your API Reference to display example payloads in your documentation.

Use the `<WebhookPayloadSnippet>` component to reference a webhook payload from your API Reference.

## Usage

```jsx Markdown
<WebhookPayloadSnippet webhook="on-order-created" />
```

## Properties

<ParamField path="webhook" type="string" required={true}>
  The operation ID of the webhook to display.
</ParamField>