# webhookSubscriptionsConnection

Query

Cursor-paginated variant of webhookSubscriptions: list outbound-webhook subscriptions for the current workspace, newest first.

Available to agents as MCP tool `getWebhookSubscriptions` — see [Read tools](/api/v2/docs/mcp/read-tools#get-webhook-subscriptions).

## Arguments

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `after` | `String` | No | `null` | Cursor for fetching the next page of results. |
| `first` | `Int` | No | `20` | Number of subscriptions to return (page size). |

## Returns

A paginated connection of [`WebhookSubscription`](/api/v2/docs/types/webhook-subscription) nodes. See [Pagination](/api/v2/docs/types/pagination) for the connection shape.

## Examples

### Paginate webhook subscriptions

Cursor-paginated variant of webhookSubscriptions, newest first.

```graphql
query WebhookSubscriptionsConnectionDefault($first: Int) {
  webhookSubscriptionsConnection(first: $first) {
    edges {
      cursor
      node {
        id
        name
        url
        status
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
    totalCount
  }
}
```

Variables:

```json
{
  "first": 2
}
```

Response — HTTP 200:

```json
{
  "data": {
    "webhookSubscriptionsConnection": {
      "edges": [
        {
          "cursor": "Z2lkOi8vYXJjaGl2ZS9XZWJob29rU3Vic2NyaXB0aW9uLzIwMjQtMTItMzFUMTM6MDA6MDAuMDAwMDAwWnw0MTY2MmUwOS0xMGM0LTUyZTQtODQ0YS02MmRkZWRiMzhmMTE=",
          "node": {
            "id": "41662e09-10c4-52e4-844a-62ddedb38f11",
            "name": "Northwind Analytics Sink",
            "url": "https://analytics.northwind-botanicals.example/archive",
            "status": "DISABLED_BY_FAILURES"
          }
        },
        {
          "cursor": "Z2lkOi8vYXJjaGl2ZS9XZWJob29rU3Vic2NyaXB0aW9uLzIwMjQtMTItMzFUMTI6MDA6MDAuMDAwMDAwWnxlYjQxOGUyOC1iZjlkLTUzNTAtYjg3Yi00NDZhNjgxM2JjYTQ=",
          "node": {
            "id": "eb418e28-bf9d-5350-b87b-446a6813bca4",
            "name": "Northwind Order Fulfilment",
            "url": "https://hooks.northwind-botanicals.example/archive",
            "status": "ACTIVE"
          }
        }
      ],
      "pageInfo": {
        "hasNextPage": false,
        "endCursor": "Z2lkOi8vYXJjaGl2ZS9XZWJob29rU3Vic2NyaXB0aW9uLzIwMjQtMTItMzFUMTI6MDA6MDAuMDAwMDAwWnxlYjQxOGUyOC1iZjlkLTUzNTAtYjg3Yi00NDZhNjgxM2JjYTQ="
      },
      "totalCount": 2
    }
  }
}
```
