---
title: "List delivery attempts"
url: "https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78/operations/listWebhookDeliveries"
---

> Full API specification: https://portal.konghotels.cloud/apis/kong-hotels-partner-api-1/versions/23cc133a-2f87-4d55-9490-0b8b2bb7dd78.md

# List delivery attempts

`GET` `/webhooks/{webhookId}/deliveries`

Operation ID: `listWebhookDeliveries`

## Path parameters

- `webhookId` (string, required)

## Query parameters

- `per_page` (integer, optional)
- `cursor` (string, optional) - Opaque cursor from `meta.next_cursor` / `links.next`.

## Responses

- `200` - Deliveries, newest first.
- `404` - Not found, or owned by another partner.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Partner API
  version: 1.0.0
servers:
  - url: https://api.konghotels.cloud
    description: Kong Gateway
paths:
  /webhooks/{webhookId}/deliveries:
    get:
      tags:
        - Webhooks
      operationId: listWebhookDeliveries
      summary: List delivery attempts
      parameters:
        - $ref: "#/components/parameters/WebhookId"
        - $ref: "#/components/parameters/PerPage"
        - $ref: "#/components/parameters/Cursor"
      responses:
        "200":
          description: Deliveries, newest first.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/CursorPage"
                  - type: object
                    properties:
                      data:
                        type: array
                        items:
                          $ref: "#/components/schemas/WebhookDelivery"
        "404":
          $ref: "#/components/responses/NotFound"
security:
  - KongKeyAuth: []
  - KongConsumer: []
components:
  parameters:
    WebhookId:
      name: webhookId
      in: path
      required: true
      schema:
        type: string
        pattern: ^whk_
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
    Cursor:
      name: cursor
      in: query
      description: Opaque cursor from `meta.next_cursor` / `links.next`.
      schema:
        type: string
  schemas:
    CursorPage:
      type: object
      properties:
        links:
          type: object
          properties:
            first:
              type:
                - string
                - "null"
            last:
              type:
                - string
                - "null"
            prev:
              type:
                - string
                - "null"
            next:
              type:
                - string
                - "null"
        meta:
          type: object
          properties:
            path:
              type: string
            per_page:
              type: integer
            next_cursor:
              type:
                - string
                - "null"
            prev_cursor:
              type:
                - string
                - "null"
    WebhookDelivery:
      type: object
      properties:
        id:
          type: string
        event_type:
          $ref: "#/components/schemas/EventType"
        event_id:
          type: string
        status:
          type: string
          enum:
            - pending
            - succeeded
            - failed
        attempts:
          type: integer
        response_status:
          type:
            - integer
            - "null"
        delivered_at:
          type:
            - string
            - "null"
          format: date-time
        created_at:
          type: string
          format: date-time
    EventType:
      type: string
      enum:
        - reservation.created
        - reservation.modified
        - reservation.cancelled
        - reservation.add_ons_changed
        - availability.changed
        - rates.changed
        - property.updated
        - promotion.published
        - review.published
        - group_request.created
        - group_request.updated
        - webhook.ping
    Problem:
      type: object
      description: RFC 9457 problem details. Extra members (e.g. `available_units`,
        `restrictions`, `reasons`) may be present.
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type: string
      additionalProperties: true
  responses:
    NotFound:
      description: Not found, or owned by another partner.
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
          example:
            type: https://developers.konghotels.example/problems/not-found
            title: Resource not found
            status: 404
            detail: Property not found.
            instance: /properties/KXXXX
            request_id: 9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d
  securitySchemes:
    KongKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: Your API key, validated by Kong Gateway. The header name depends on
        the gateway's key-auth configuration.
    KongConsumer:
      type: apiKey
      in: header
      name: X-Consumer-ID
      description: "**Local development only.** Simulates the consumer identity Kong
        Gateway injects after authentication."
```
