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

# List Webhook Deliveries

> Returns a paginated, groupable list of webhook delivery attempts for the calling application's organization,
with the original delivery and any resend attempts nested together.




## OpenAPI

````yaml GET /api/webhooks/deliveries
openapi: 3.0.0
info:
  title: Employee List API
  description: Retrieve a paginated list of employees from the organization.
  version: 1.0.0
servers:
  - url: https://{env}.tartanhq.com
    description: Dynamic environment-based server
    variables:
      env:
        default: dev
security: []
paths:
  /api/webhooks/deliveries:
    get:
      summary: List Webhook Deliveries
      description: >
        Returns a paginated, groupable list of webhook delivery attempts for the
        calling application's organization,

        with the original delivery and any resend attempts nested together.
      parameters:
        - in: query
          name: start_date
          required: false
          schema:
            type: string
            format: date
          description: >-
            Defaults to the first of the current month. Lookback is capped at 31
            days.
        - in: query
          name: end_date
          required: false
          schema:
            type: string
            format: date
        - in: query
          name: status
          required: false
          schema:
            type: string
            enum:
              - success
              - fail
              - all
        - in: query
          name: connection_id
          required: false
          schema:
            type: string
            format: uuid
        - in: query
          name: client_org_id
          required: false
          schema:
            type: string
            format: uuid
        - in: query
          name: search
          required: false
          schema:
            type: string
          description: Matches against url, error_message, and request_service.
        - in: query
          name: page
          required: false
          schema:
            type: integer
            default: 1
        - in: query
          name: size
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
      responses:
        '200':
          description: Webhook deliveries fetched successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Webhook deliveries fetched
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          $ref: '#/components/schemas/WebhookDelivery'
                      total:
                        type: integer
                        example: 42
                      page:
                        type: integer
                        example: 1
                      size:
                        type: integer
                        example: 20
                      start_date:
                        type: string
                        format: date
                      end_date:
                        type: string
                        format: date
        '400':
          description: Invalid query parameters
      security:
        - TokenAuth: []
components:
  schemas:
    WebhookDelivery:
      type: object
      properties:
        request_id:
          type: string
          format: uuid
        request_time:
          type: string
          format: date-time
        response_time:
          type: string
          format: date-time
          nullable: true
        status:
          type: string
          example: success
        response_code:
          type: integer
          nullable: true
        event:
          type: string
        event_type_hint:
          type: string
        url:
          type: string
        error_message:
          type: string
          nullable: true
        has_resent:
          type: boolean
        original_request_id:
          type: string
          format: uuid
          nullable: true
        connection_id:
          type: string
          format: uuid
        connection_name:
          type: string
        hrms_code:
          type: string
        app_name:
          type: string
        client_org_id:
          type: string
          format: uuid
        corporate_name:
          type: string
        sync_session_id:
          type: string
          format: uuid
        webhook_counter:
          type: integer
        attempts_count:
          type: integer
        attempts:
          type: array
          items:
            type: object
            description: >-
              Same shape as the parent delivery object, without
              attempts/attempts_count.
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization

````