---
title: "Query webhooks"
method: GET
path: "/webhooks"
tags: ["Webhooks"]
---

# Query webhooks

`GET /webhooks`

## Request

- Base URL: `https://api.pax8.com/api/v2`
- URL: `https://api.pax8.com/api/v2/webhooks`
- Auth: none declared

Lists instances of WebhookView with the ability to query against fields in WebhookView.

## Query parameters

- `query` string
- `page` integer
- `size` integer
- `active` boolean
- `topic` string
- `sort` string
- `status` string
- `accountId` string, uuid

## Response `200`

The request has succeeded.

- WebhookPagedResult: Paged response for webhooks
  - `content` Webhook[], required: List of webhooks
    - `id` string, uuid, required: Unique identifier for the webhook
    - `accountId` string, uuid, required: Account ID that owns this webhook
    - `displayName` string, required: Display name for the webhook
    - `url` string: URL where webhook events will be sent
    - `authorization` string: Authorization header value for webhook
    - `active` boolean, required: Whether the webhook is active
    - `contactEmail` string: Email address to notify when webhook delivery errors occur
    - `errorThreshold` integer, required: Number of times a webhook will be retried and consecutive errors will result in an email notification
    - `integrationId` string, uuid: Id of the integration this webhook is associated with, if applicable
    - `webhookTopics` WebhookTopic[], required: List of topics and configurations this webhook subscribes to
      - `id` string, uuid, required: Unique identifier for the webhook topic
      - `topic` string, required: The topic name
      - `filters` WebhookFilter[], required: Advanced filtering configuration
        - `action` string, required: Action to filter on
        - `conditions` FilterCondition[], required: List of conditions that must all be true
          - `field` string, required: Field path to filter on
          - `operator` 'EQUALS' | 'NOT_EQUALS' | 'GREATER_THAN' | 'LESS_THAN' | 'IN' | 'NOT_IN' | 'CONTAINS', required: Filter operator for webhook conditions
          - `value` string[], required: Values to compare against
    - `lastDeliveryStatus` 'PENDING' | 'SUCCESS' | 'FAILED' | 'RETRYING': Status of webhook delivery
    - `createdAt` string, date-time, required: Timestamp when the webhook was created
    - `updatedAt` string, date-time, required: Timestamp when the webhook was last updated
  - `page` Page, required
    - `number` integer, required
    - `size` integer, required
    - `totalElements` integer, required
    - `totalPages` integer, required

## Other responses

- `400`: The request is missing required parameters or has invalid parameters
- `401`: Missing or invalid token
- `403`: User does not have permission to access this resource
- `500`: Server error

---

[API](https://skmtc.dev/pax8/apis/webhooks-api.md) - [All operations](https://skmtc.dev/pax8/apis/webhooks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pax8/apis/webhooks-api/revisions/c0951191e943?raw)
