---
title: "Get collection"
method: GET
path: "/v2/webhooks/{webhookId}/dispatches"
tags: ["Webhooks/Webhooks"]
---

# Get collection

`GET /v2/webhooks/{webhookId}/dispatches`

Gets a given webhook's list of dispatches.

## Path parameters

- `webhookId` string, required

## Response `200`

- ListOfWebhookDispatchesResponse
  - `data` ListOfWebhookDispatches, required — Common pagination fields for list responses.
    - `total` integer, required — The total number of items available across all pages.
    - `offset` integer, required — The starting position for this page of results.
    - `limit` integer, required — The maximum number of items returned per page.
    - `desc` boolean, required — Whether the results are sorted in descending order.
    - `count` integer, required — The number of items returned in this response.
    - `items` WebhookDispatch[], required
      - `id` string, required
      - `userId` string, required
      - `webhookId` string, required
      - `createdAt` string, date-time, required
      - `status` 'ACTIVE' | 'SUCCEEDED' | 'FAILED', required — Status of the webhook dispatch indicating whether the HTTP request was successful.
      - `eventType` 'ACTOR.BUILD.ABORTED' | 'ACTOR.BUILD.CREATED' | 'ACTOR.BUILD.FAILED' | 'ACTOR.BUILD.SUCCEEDED' | 'ACTOR.BUILD.TIMED_OUT' | 'ACTOR.RUN.ABORTED' | 'ACTOR.RUN.CREATED' | 'ACTOR.RUN.FAILED' | 'ACTOR.RUN.RESURRECTED' | 'ACTOR.RUN.SUCCEEDED' | 'ACTOR.RUN.TIMED_OUT' | 'TEST', required — Type of event that triggers the webhook.
      - `eventData` object, nullable
        - `actorId` string, required
        - `actorRunId` string
        - `actorBuildId` string
        - `actorTaskId` string, nullable
      - `webhook` WebhookDispatchWebhookSummary — A summary of the webhook that triggered this dispatch.
        - `actionType` string
        - `condition` WebhookCondition
          - `actorId` string, nullable
          - `actorTaskId` string, nullable
          - `actorRunId` string, nullable
        - `requestUrl` string, uri, nullable — URL of the HTTP request sent by the webhook. It is `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications).
        - `isAdHoc` boolean
      - `calls` object[]
        - `startedAt` string, date-time, nullable
        - `finishedAt` string, date-time, nullable
        - `errorMessage` string, nullable
        - `responseStatus` integer, nullable
        - `responseBody` string, nullable

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `403` — Forbidden - insufficient permissions to perform this action.
- `404` — Not found - the requested resource does not exist.
- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
