---
title: "Get webhook deliveries"
method: GET
path: "/v1/{organization}/webhook_destination/{webhook_destination_id}/delivery"
tags: ["Webhook Destination"]
---

# Get webhook deliveries

`GET /v1/{organization}/webhook_destination/{webhook_destination_id}/delivery`

Retrieve the webhook deliveries to a webhook destination.

#### Permissions
This endpoint may be impacted by the following permissions:
* `Webhook:GetWebhookDeliveries` on the webhook deliveries to retrieve.

## Path parameters

- `webhook_destination_id` string, required — The ID of the webhook destination whose deliveries to retrieve.
- `organization` string, required

## Query parameters

- `status` 'success' | 'failed'
- `type` string, nullable — The type of the webhook.
- `created_after` string, date-time, nullable — An ISO8601 timestamp in UTC of the earliest creation time of the webhook deliveries to retrieve.
- `created_before` string, date-time, nullable — An ISO8601 timestamp in UTC of the latest creation time of the webhook deliveries to retrieve.
- `limit` integer — The maximum number of webhook deliveries to retrieve.
- `continuation_token` integer — The token from the previous request to return the next page of webhook deliveries.
- `sort_by` string[] — The fields to sort the sets by. Supported fields are `type`, `status`, and `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.

## Headers

- `x-mongo-cluster-name` string, nullable — The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
- `Sec-WebSocket-Protocol` string[]

## Response `200`

Succeeded.

- SrcAppEndpointsWebhookDestinationGetWebhookDeliveriesResponse
  - `webhook_deliveries` WebhookDeliveryInstance[], required — The retrieved webhook deliveries.
    - `id` string, required — The ID of the webhook delivery.
    - `type` string, required — The type of the webhook.
    - `webhook_content` object, required — The body of the webhook.
    - `status` 'success' | 'failed', required
    - `delivery_attempts` DeliveryAttempt[], required — The delivery attempts of the webhook.
      - `delivery_time` string, date-time, required — The time of the delivery attempt in UTC.
      - `status_code` integer, required — The HTTP status code of the delivery attempt.
    - `dual_signed` boolean, required — Whether the webhook was signed with two secrets.
    - `created_at` string, date-time, required — In UTC time, when the webhook send request was received.
  - `has_more` boolean, required — Whether there are more webhook deliveries to retrieve.
  - `continuation_token` integer, nullable, required — A token to supply to the next request to retrieve the next page of webhook deliveries. Only populated if `has_more` is `True`.

## Other responses

- `401` — Invalid authorization credentials.
- `403` — Missing required permissions.
- `404` — Specified organization or webhook destination is not found.
- `422` — Invalid request path parameter or request query parameter failed validation.
- `429` — The user has exceeded the rate limit of 5 requests per minute for this endpoint.
- `503` — The service is going through temporary maintenance.

---

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