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

# List webhooks

> List this workspace's webhook endpoints with their state, subscribed feeds and types, consecutive failure count and why any was disabled.

`list_webhooks`

List this workspace's webhook endpoints with their state, subscribed feeds and types, consecutive failure count and why any was disabled. Secrets are never returned.

<Note>Hosted MCP registration verified. These schemas describe the development contract; confirm supported inputs with tools/list. Generic CLI/HTTP calls require a matching development server. Configure LINKTRAIL\_API\_URL; production does not expose these command routes.</Note>

| Access        | Behavior         |
| ------------- | ---------------- |
| `events:read` | Reads saved data |

Reading saved data does not start a verification job. Mutations can change saved records or access; the effects below apply.

## Example request

Connect through [MCP](/guides/connect-mcp), [CLI](/guides/connect-cli), or [HTTP](/guides/connect-http). Replace example identifiers with records from your workspace.

<CodeGroup>
  ```json MCP theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "list_webhooks",
      "arguments": {}
    }
  }
  ```

  ```bash CLI theme={null}
  linktrail call list_webhooks --args '{}'
  ```

  ```bash HTTP theme={null}
  curl "$LINKTRAIL_API_URL/v1/commands/list_webhooks" \
    -H "Authorization: Bearer $LINKTRAIL_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{}'
  ```
</CodeGroup>

## Returned result

Illustrative data validated against the documented response schema. IDs and dates are examples, not a live account capture. MCP returns this data in `structuredContent` and in a text content block; generic HTTP and CLI return the JSON result directly.

```json theme={null}
{
  "items": [
    {
      "id": "webhook_example",
      "workspace_id": "ws_example",
      "project_id": "pr_example",
      "url": "https://receiver.example.org/events",
      "description": "Example event receiver",
      "state": "active",
      "active_secret_count": 1,
      "event_types": null,
      "feeds": [
        "events"
      ],
      "delivery_mode": "events",
      "digest_frequency": null,
      "digest_hour_utc": 9,
      "digest_last_sent_at": null,
      "consecutive_failures": 0,
      "disabled_at": null,
      "disabled_reason": null,
      "created_at": "2026-09-13T12:00:00.000Z",
      "updated_at": "2026-09-13T12:00:00.000Z"
    }
  ]
}
```

## Input fields

Omit optional fields when you do not want to supply them. Null is accepted only where listed. Unknown input properties are rejected.

This operation accepts an empty object.

### Validation and omitted values

Signing secrets are never returned; inspect state and disabled reason when delivery fails.

## Output fields

Fields inside optional or nullable parents apply only when that parent exists. [Common schema conventions](/reference/schemas) explain evidence states, empty lists and extensions.

| Field                          | Type          | Presence | Meaning and constraints                                                          |
| ------------------------------ | ------------- | -------- | -------------------------------------------------------------------------------- |
| `items`                        | array         | Required | Records in this bounded page.                                                    |
| `items[].id`                   | string        | Required | Resource identifier returned by the operation.                                   |
| `items[].workspace_id`         | string        | Required | Workspace that owns this record.                                                 |
| `items[].project_id`           | string / null | Required | Project that owns this record.                                                   |
| `items[].url`                  | string        | Required | url recorded for this result.                                                    |
| `items[].description`          | string        | Required | description recorded for this result.                                            |
| `items[].state`                | string        | Required | Saved lifecycle or evidence state, as enumerated for this record.                |
| `items[].active_secret_count`  | number        | Required | active secret count recorded for this result.                                    |
| `items[].event_types`          | array / null  | Required | event types recorded for this result.                                            |
| `items[].feeds`                | array         | Required | feeds recorded for this result.                                                  |
| `items[].delivery_mode`        | string        | Required | delivery mode recorded for this result.                                          |
| `items[].digest_frequency`     | string / null | Required | digest frequency recorded for this result.                                       |
| `items[].digest_hour_utc`      | number / null | Required | digest hour utc recorded for this result.                                        |
| `items[].digest_last_sent_at`  | string / null | Required | digest last sent at recorded for this result.                                    |
| `items[].consecutive_failures` | number        | Required | consecutive failures recorded for this result.                                   |
| `items[].disabled_at`          | string / null | Required | disabled at recorded for this result.                                            |
| `items[].disabled_reason`      | string / null | Required | disabled reason recorded for this result.                                        |
| `items[].created_at`           | string        | Required | UTC timestamp when the record was created.                                       |
| `items[].updated_at`           | string        | Required | UTC timestamp of the last record update.                                         |
| `items[].secret`               | string        | Optional | Webhook signing secret returned only when created or rotated. Store it securely. |

[Download input schema](/schemas/list_webhooks.input.json) · [Download output schema](/schemas/list_webhooks.output.json)

## Errors and retries

The command is annotated idempotent. Reuse an accepted idempotency key when the input provides one; changing the payload under a reused key can conflict.

See [error recovery](/reference/errors) for status, scope, cooldown, cursor and retry handling. Unknown observations are result data and do not establish loss.

## HTTP resource routes

These existing resource routes share the operation’s domain behavior. Their parameter placement, status and response envelope can differ from generic invocation. See [HTTP route details](/reference/http/routes).

| Method and route   | Success | Details                                          |
| ------------------ | ------- | ------------------------------------------------ |
| `GET /v1/webhooks` | 200     | Remaining read arguments go in query parameters. |

## Continue

[list\_webhook\_deliveries](/reference/commands/list_webhook_deliveries)

Follow the [related workflow](/guides/webhooks), inspect [capability status](/capability-status), or return to the [command index](/reference/index).
