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

# List Webhooks

> Retrieve a paginated list of webhooks in your workspace.

## Query Parameters

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

<ParamField query="pageSize" type="integer" default="20">
  Number of webhooks per page (1-100).
</ParamField>

## Response

<ResponseField name="data" type="array">
  Array of webhook objects.

  <Expandable title="Webhook object">
    <ResponseField name="id" type="string">Unique webhook identifier.</ResponseField>
    <ResponseField name="url" type="string">The endpoint URL that receives webhook events.</ResponseField>
    <ResponseField name="isActive" type="boolean">Whether the webhook is active.</ResponseField>
    <ResponseField name="events" type="array">List of event types this webhook subscribes to.</ResponseField>
    <ResponseField name="lastDeliveredAt" type="string">When an event was last delivered.</ResponseField>
    <ResponseField name="consecutiveFailures" type="integer">Number of consecutive delivery failures.</ResponseField>
    <ResponseField name="createdAt" type="string">ISO 8601 timestamp.</ResponseField>
    <ResponseField name="updatedAt" type="string">ISO 8601 timestamp.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.foxreach.io/api/v1/webhooks" \
    -H "X-API-Key: otr_your_key"
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.foxreach.io/api/v1/webhooks",
      headers={"X-API-Key": "otr_your_key"}
  )
  data = response.json()
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch(
      "https://api.foxreach.io/api/v1/webhooks",
      {
          method: "GET",
          headers: { "X-API-Key": "otr_your_key" }
      }
  );
  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": [
      {
        "id": "cwh_abc123",
        "url": "https://your-app.com/webhooks/outreach",
        "isActive": true,
        "events": ["email.sent", "reply.received"],
        "lastDeliveredAt": "2025-01-15T10:30:00",
        "consecutiveFailures": 0,
        "createdAt": "2025-01-01T10:00:00",
        "updatedAt": "2025-01-15T10:30:00"
      }
    ],
    "meta": {
      "page": 1,
      "pageSize": 20,
      "total": 1,
      "totalPages": 1
    }
  }
  ```
</ResponseExample>

<Note>
  The webhook `secret` is never returned in list or get responses. It is only shown once when the webhook is created.
</Note>

## Rate Limit

* **100 requests per minute, per API key.** Fixed 60-second window.
* Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` (unix epoch seconds).
* A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
