> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List webhook deliveries

> Returns webhook delivery attempts for your project, most recent first.



## OpenAPI

````yaml /api/platform/v1/openapi-platform.yaml get /webhook_deliveries
openapi: 3.1.0
info:
  title: Kapso Platform API
  version: 0.2.0
  description: >
    Build WhatsApp messaging into your product. Manage customers, connect phone
    numbers, send broadcasts, and handle conversations.
servers:
  - url: https://api.kapso.ai/platform/v1
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Customers
    description: Manage customer accounts
  - name: Setup Links
    description: WhatsApp onboarding via embedded signup
  - name: Phone Numbers
    description: Connect and manage WhatsApp numbers
  - name: Webhooks
    description: Subscribe to WhatsApp events
  - name: Display Names
    description: Update WhatsApp business display names
  - name: Broadcasts
    description: |
      Send template messages at scale

      **Alpha**: This API is in alpha and subject to change
  - name: Conversations
    description: Manage conversation state
  - name: Media
    description: Upload media files for WhatsApp messaging
  - name: Users
    description: Manage project team members
  - name: Inbox Embeds
    description: Create and manage embeddable inbox access links
  - name: Webhook Deliveries
    description: View webhook delivery attempts and their status
  - name: External API Logs
    description: View logs of external API calls made by the project
  - name: Log Search
    description: Search log events across API, Meta, workflow, and webhook sources
  - name: Events
    description: Emit and query project-scoped events
  - name: Provider Models
    description: List available AI provider models
  - name: WhatsApp Flows
    description: Build interactive WhatsApp Flows for surveys and forms
  - name: Contacts
    description: Manage WhatsApp contacts
paths:
  /webhook_deliveries:
    get:
      tags:
        - Webhook Deliveries
      summary: List webhook deliveries
      description: Returns webhook delivery attempts for your project, most recent first.
      operationId: listWebhookDeliveries
      parameters:
        - name: status
          in: query
          description: Filter by delivery status
          schema:
            type: string
            enum:
              - pending
              - delivered
              - failed
        - name: event
          in: query
          description: Filter by event type
          schema:
            type: string
        - name: webhook_id
          in: query
          description: Filter by webhook ID
          schema:
            type: string
            format: uuid
        - name: errors_only
          in: query
          description: Only return failed deliveries
          schema:
            type: boolean
            default: false
        - name: period
          in: query
          description: Time period filter
          schema:
            type: string
            enum:
              - 24h
              - 7d
              - 30d
            default: 24h
        - name: limit
          in: query
          description: >-
            Maximum number of results per cursor-paginated page (default 20, max
            100).
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
        - name: before
          in: query
          description: Cursor for the previous page (Base64 encoded).
          schema:
            type: string
        - name: after
          in: query
          description: Cursor for the next page (Base64 encoded).
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryListResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
components:
  schemas:
    WebhookDeliveryListResponse:
      type: object
      required:
        - data
        - paging
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/WebhookDelivery'
        paging:
          $ref: '#/components/schemas/Paging'
    WebhookDelivery:
      type: object
      required:
        - id
        - event
        - status
        - attempt_count
        - created_at
      properties:
        id:
          type: string
          format: uuid
        event:
          type: string
          description: The webhook event type
        status:
          type: string
          enum:
            - pending
            - delivered
            - failed
        response_status:
          type:
            - integer
            - 'null'
          description: HTTP response status code from the webhook endpoint
        delivered_at:
          type:
            - string
            - 'null'
          format: date-time
        failed_at:
          type:
            - string
            - 'null'
          format: date-time
        last_attempt_at:
          type:
            - string
            - 'null'
          format: date-time
        attempt_count:
          type: integer
        created_at:
          type: string
          format: date-time
        webhook_id:
          type:
            - string
            - 'null'
          format: uuid
        webhook_url:
          type:
            - string
            - 'null'
        whatsapp_config_id:
          type:
            - string
            - 'null'
          format: uuid
        phone_number_id:
          type:
            - string
            - 'null'
          description: Meta phone number ID
        conversation_phone_number:
          type:
            - string
            - 'null'
          description: Phone number of the conversation associated with the delivery
    Paging:
      type: object
      properties:
        cursors:
          $ref: '#/components/schemas/PaginationCursor'
        next:
          type: string
          nullable: true
        previous:
          type: string
          nullable: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    PaginationCursor:
      type: object
      properties:
        before:
          type: string
          description: Cursor for previous page (Base64 encoded)
        after:
          type: string
          description: Cursor for next page (Base64 encoded)
  responses:
    UnauthorizedError:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````