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

# webhooks

> Lists the tenant's webhooks, ordered by name. Deleted webhooks are included; filter `status: { eq: ACTIVE }` for the ones delivering now. Pages forward only (`first`, `after`): 50 by default, at most 100.



**query** `webhooks(after: String, before: String, first: Int, last: Int, where: WebhookFilterInput): WebhooksConnection`

## Arguments

**`after`**: `String`

Returns the elements in the list that come after the specified cursor.

---

**`before`**: `String`

Returns the elements in the list that come before the specified cursor.

---

**`first`**: `Int`

Returns the first _n_ elements from the list.

---

**`last`**: `Int`

Returns the last _n_ elements from the list.

---

**`where`**: `WebhookFilterInput`

## Returns

`WebhooksConnection`

**`edges`**: `[WebhooksEdge!]`

A list of edges.

---

**`nodes`**: `[Webhook!]`

A flattened list of the nodes.

---

**`pageInfo`**: `PageInfo!`

Information to aid in pagination.

---

**`totalCount`**: `Int!`

Identifies the total count of items in the connection.

## Examples

```graphql Query
query Webhooks {
  webhooks {
    edges {
      cursor
      node {
        createdAt
        destinationType
        endpoint
        filter
        filterDialectVersion
        id
      }
    }
    nodes {
      createdAt
      destinationType
      endpoint
      filter
      filterDialectVersion
      id
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
    totalCount
  }
}
```

```json Response
{
  "data": {
    "webhooks": {
      "edges": [
        {
          "cursor": "string",
          "node": {
            "createdAt": "value",
            "destinationType": "WEBHOOK",
            "endpoint": "string",
            "filter": "string",
            "filterDialectVersion": 1,
            "id": "value"
          }
        }
      ],
      "nodes": [
        {
          "createdAt": "value",
          "destinationType": "WEBHOOK",
          "endpoint": "string",
          "filter": "string",
          "filterDialectVersion": 1,
          "id": "value"
        }
      ],
      "pageInfo": {
        "endCursor": "string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "string"
      },
      "totalCount": 1
    }
  }
}
```


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