> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hitheo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取 Webhook 列表

> 列出为调用方所属组织注册的所有 Webhook 端点。

## 响应

<ResponseField name="webhooks" type="array">
  Webhook 对象组成的数组。

  <Expandable title="Webhook 对象">
    <ResponseField name="id" type="string">UUID</ResponseField>
    <ResponseField name="url" type="string">端点 URL</ResponseField>
    <ResponseField name="event_types" type="string[]">已订阅的事件类型</ResponseField>
    <ResponseField name="enabled" type="boolean">该 Webhook 是否处于启用状态</ResponseField>
    <ResponseField name="last_delivered_at" type="string | null">最近一次成功投递的 ISO 8601 时间戳</ResponseField>
    <ResponseField name="failure_count" type="number">连续失败次数（成功后重置）</ResponseField>
    <ResponseField name="created_at" type="string">ISO 8601 时间戳</ResponseField>
  </Expandable>
</ResponseField>

## 示例

<CodeGroup>
  ```bash curl theme={null}
  curl https://www.hitheo.ai/api/v1/webhooks \
    -H "Authorization: Bearer $THEO_API_KEY"
  ```

  ```typescript SDK theme={null}
  const webhooks = await theo.listWebhooks();
  ```
</CodeGroup>

### 响应

```json theme={null}
{
  "webhooks": [
    {
      "id": "a1b2c3d4-...",
      "url": "https://your-server.com/webhooks/theo",
      "event_types": ["completion.created", "job.completed"],
      "enabled": true,
      "last_delivered_at": "2026-04-15T11:30:00.000Z",
      "failure_count": 0,
      "created_at": "2026-04-10T08:00:00.000Z"
    }
  ]
}
```

<Note>
  创建之后将不再返回 `signing_secret`。如果遗失了该密钥，请使用[轮换密钥](/api-reference/webhooks/rotate-secret)端点生成新的密钥。
</Note>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.