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

# List webhooks

> Browse your organization's webhooks.

Returns a paginated list of your organization's webhooks. Signing secrets are never included.

**Returns** a paginated list of [webhook objects](/computer-use-agents/webhooks/retrieve).

***

## Query parameters

<ParamField query="page" type="integer" default="1">
  Page number (1-based).
</ParamField>

<ParamField query="size" type="integer" default="10">
  Items per page. Maximum: `1000`.
</ParamField>

<ParamField query="sort" type="string" default="-created_at">
  Sort order. Options: `created_at`, `-created_at`.
</ParamField>

***

## Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://agp.eu.hcompany.ai/api/v2/webhooks" \
    -H "Authorization: Bearer $HAI_API_KEY"
  ```

  ```python Python theme={null}
  from hai_agents import Client

  client = Client()

  page = client.webhooks.list_webhooks()
  for webhook in page.items:
      print(webhook.id, webhook.url)
  ```

  ```typescript TypeScript theme={null}
  import { HaiAgentsClient } from "hai-agents";

  const client = new HaiAgentsClient();

  const page = await client.webhooks.listWebhooks();
  for (const webhook of page.items) {
    console.log(webhook.id, webhook.url);
  }
  ```
</CodeGroup>

```json Response theme={null}
{
  "items": [
    {
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "url": "https://example.com/hooks/h",
      "enabled_events": ["session.status_updated"],
      "description": "Production listener",
      "disabled": false,
      "last_delivery_status": "succeeded",
      "last_delivery_error": null,
      "last_delivery_at": "2026-07-03T08:30:00Z",
      "last_success_at": "2026-07-03T08:30:00Z",
      "consecutive_failures": 0,
      "created_at": "2026-06-11T15:04:05Z",
      "updated_at": "2026-06-11T15:04:05Z"
    }
  ],
  "page": 1,
  "total": 1
}
```
