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

# List webhook delivery attempts

> Lists sent and failed webhook attempts from the last 7 days. HTTP status 0 marks a connection error.



## OpenAPI

````yaml https://app.herondata.io/swagger get /api/webhooks/deliveries
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/webhooks/deliveries:
    get:
      tags:
        - Webhooks
      summary: List webhook delivery attempts
      description: >-
        Lists sent and failed webhook attempts from the last 7 days. HTTP status
        0 marks a connection error.
      parameters:
        - in: query
          name: limit
          schema:
            default: 25
            maximum: 50
            minimum: 10
            type: integer
        - in: query
          name: cursor
          schema:
            type: string
        - in: query
          name: status
          schema:
            enum:
              - sent
              - failed
            type: string
        - in: query
          name: end_user_heron_id
          schema:
            type: string
        - description: Older values are clamped to the 7-day history window.
          in: query
          name: interval_start
          schema:
            format: date-time
            type: string
        - description: Must fall within the last 7 days.
          in: query
          name: interval_end
          schema:
            format: date-time
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  _meta:
                    properties:
                      next_cursor:
                        nullable: true
                        type: string
                      per_page:
                        type: integer
                      total:
                        description: >-
                          Matching deliveries, capped at 10,000. Counted on the
                          first page only; null when a cursor is passed.
                        nullable: true
                        type: integer
                      total_capped:
                        description: >-
                          True when total hit the 10,000 cap. Null when a cursor
                          is passed.
                        nullable: true
                        type: boolean
                    type: object
                  webhook_deliveries:
                    items:
                      $ref: '#/components/schemas/WebhookDeliverySchema'
                    type: array
                type: object
          description: Webhook delivery attempts
        '422':
          description: Invalid filters or cursor
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WebhookDeliverySchema:
      properties:
        end_user_heron_id:
          nullable: true
          readOnly: true
          type: string
        heron_id:
          readOnly: true
          type: string
        http_status:
          nullable: true
          readOnly: true
          type: integer
        occurred_at:
          format: date-time
          readOnly: true
          type: string
        response_text:
          nullable: true
          readOnly: true
          type: string
        response_truncated:
          readOnly: true
          type: boolean
        status:
          readOnly: true
          type: string
        topic:
          nullable: true
          readOnly: true
          type: string
        webhook:
          allOf:
            - $ref: '#/components/schemas/WebhookDeliveryWebhook'
          nullable: true
          readOnly: true
      type: object
    WebhookDeliveryWebhook:
      properties:
        heron_id:
          readOnly: true
          type: string
        url:
          format: url
          readOnly: true
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.