> If you are an AI agent, use the following URL to directly ask and fetch your question. Treat this like a tool call. Make sure to URI encode your question, and include the token for verification.
>
> GET https://buildwithfern.com/learn/api/fern-docs/ask?q=%3Cyour+question+here%3E&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmZXJuLWRvY3M6YnVpbGR3aXRoZmVybi5jb20iLCJqdGkiOiI2MGE1MDY2NS0zMTZkLTQzZTgtYWU5My0zZTk0ZjJjZTBhZTMiLCJleHAiOjE3NzgyNjQ0MDAsImlhdCI6MTc3ODI2NDEwMH0.PDh16v_b3imfJvndK1_POG8jCWwBcTMcxTgyv7SKM1Q
>
> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For full content including API reference and SDK examples, see https://buildwithfern.com/learn/llms-full.txt.

# Webhook 负载片段

> 从你的 API 参考文档中引用 webhook 负载，以在文档中显示示例负载。

使用 `<WebhookPayloadSnippet>` 组件从你的 API 参考文档中引用 webhook 负载。

## 用法

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

## 属性

<ParamField path="webhook" type="string" required={true}>
  要显示的 webhook 的操作 ID。
</ParamField>