---
title: "List Webhook Invocations"
method: GET
path: "/print-mail/v1/webhooks/{id}/invocations"
tags: ["Webhooks"]
---

# List Webhook Invocations

`GET /print-mail/v1/webhooks/{id}/invocations`

Retrieve a paginated list of invocations for a Webhook.

## Path parameters

- `id` string, required

## Query parameters

- `skip` integer
- `limit` integer
- `search` union
  - string
  - string — You can supply a structured search query instead of supplying unstructured text to any list endpoint help refine your search for a resource. For example, let's say you created a series of letters that all had `metadata: { campaignID: 'abc' }`. You could search for all those letters by passing in `{ "metadata.campaignID": "abc" }` into the `search` parameter. Note that this string must be valid JSON.

## Response `200`

A list object containing Webhook Invocations.

- WebhookInvocationList
  - `object` 'list', required
  - `totalCount` integer, required
  - `skip` integer, required
  - `limit` integer, required
  - `data` WebhookInvocation[], required
    - `id` string, required — A unique ID prefixed with `webhook_invocation_`.
    - `object` 'webhook_invocation', required — Always `webhook_invocation`.
    - `webhook` string, required — The ID of the webhook that was invoked.
    - `event` string, required — The ID of the event that was delivered in this invocation.
    - `orderID` string — The ID of the order associated with this invocation, if the event was order-related.
    - `type` 'letter.created' | 'letter.updated' | 'postcard.created' | 'postcard.updated' | 'self_mailer.created' | 'self_mailer.updated' | 'cheque.created' | 'cheque.updated' | 'box.created' | 'box.updated' | 'snap_pack.created' | 'snap_pack.updated' | 'return_envelope_order.created' | 'return_envelope_order.updated' | 'tracker.visited' | 'campaign.created' | 'campaign.updated' | 'virtual_mailbox_item.created', required — The type of event that a Webhook can listen for and that an Event represents.
    - `statusCode` integer, required — The HTTP status code returned by your endpoint for this invocation.
    - `createdAt` string, date-time, required — The UTC time at which this invocation was created.
    - `updatedAt` string, date-time, required — The UTC time at which this invocation was last updated.

## Other responses

- `400` — A list object containing Webhook Invocations.
- `401` — A list object containing Webhook Invocations.
- `429` — A list object containing Webhook Invocations.
- `500` — A list object containing Webhook Invocations.

---

[API](https://skmtc.net/postgrid/apis/postgrid-address-verification-api.md) · [All operations](https://skmtc.net/postgrid/apis/postgrid-address-verification-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postgrid/postgrid-address-verification-api/revisions/537d2bbc624a/schema)
