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

# List webhook deliveries (paged)

> Returns one log row per point alarm webhook delivery, with pagination, filters and sorting. Rows are kept for a limited retention period.



## OpenAPI

````yaml /open-api/en/point-alarm_version-1.json post /v1/alarms/points/delivery-logs/page
openapi: 3.1.0
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://api.iklim.co
    description: Production server
  - url: https://api-test.iklim.co
    description: Test server
security: []
tags:
  - name: Point Alarms
    description: Register, list and manage point-based severe weather alarm subscriptions.
  - name: Point Alarm Webhook Delivery Logs
    description: Query endpoint for the webhook delivery log of point-based alarms
paths:
  /v1/alarms/points/delivery-logs/page:
    post:
      tags:
        - Point Alarm Webhook Delivery Logs
      summary: List webhook deliveries (paged)
      description: >-
        Returns one log row per point alarm webhook delivery, with pagination,
        filters and sorting. Rows are kept for a limited retention period.
      operationId: page
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PageWebhookDeliveryLogsRequest'
        required: true
      responses:
        '200':
          description: Paged webhook delivery logs returned successfully
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PageWebhookDeliveryLogsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
components:
  schemas:
    PageWebhookDeliveryLogsRequest:
      type: object
      properties:
        backwardInterval:
          type: integer
          format: int64
          description: Backward interval in seconds (60 seconds to 30 days)
          example: 86400
          maximum: 2592000
          minimum: 60
        endTimeEpoch:
          type: integer
          format: int64
          description: End time in Epoch milliseconds
          example: 1746454091000
          minimum: 0
        pageNumber:
          type: integer
          format: int32
          description: Zero-based page number
          example: 0
          minimum: 0
        pageSize:
          type: integer
          format: int32
          description: Number of records per page (1-100)
          example: 20
          maximum: 100
          minimum: 1
        accountId:
          type: string
          format: uuid
          description: >-
            Account UUID to query on behalf of. If omitted, an ADMIN sees all
            accounts and everybody else sees their own account; another account
            needs the POWER_USER role
          example: 2f04f1b5-1c0a-4c4e-b0a7-0ba6e9b7f2e1
        registrationId:
          type: string
          format: uuid
          description: Only deliveries of this registration
          example: 9c1f6a52-3d7e-4b86-a1f4-5e2d8c0b7a13
        filterByRecipientIds:
          type: array
          description: Only deliveries for these recipient IDs
          example:
            - Receiver1
            - Receiver2
          items:
            type: string
        alarmId:
          type: string
          description: >-
            Only deliveries of this alarm ID, which is the ID of the event that
            triggered the alarm (lightningId, thunderstormId or precipitationId)
        alarmTypes:
          type: array
          description: >-
            Only these alarm types: LIGHTNING, THUNDERSTORM, PRECIPITATION,
            FORECAST
          example:
            - LIGHTNING
          items:
            type: string
            enum:
              - LIGHTNING
              - THUNDERSTORM
              - PRECIPITATION
              - FORECAST
        statuses:
          type: array
          description: >-
            Only these final delivery statuses: SUCCESS, FAILURE, TIMEOUT,
            CANCELLED, UNKNOWN, NOT_ATTEMPTED
          example:
            - FAILURE
            - TIMEOUT
          items:
            type: string
            enum:
              - SUCCESS
              - FAILURE
              - TIMEOUT
              - CANCELLED
              - UNKNOWN
              - NOT_ATTEMPTED
        lastHttpStatus:
          type: integer
          format: int32
          description: Only deliveries whose last attempt got this HTTP status code
          example: 503
        sortBy:
          type: object
          additionalProperties:
            type: string
          description: >-
            Sort order as an ordered map of field to asc/desc. Allowed fields:
            createdAt, startedAt, finishedAt, durationMs, status,
            lastHttpStatus, attemptCount, accountId, recipientId, alarmId, url.
            Default: createdAt desc
          example:
            createdAt: desc
      required:
        - backwardInterval
        - endTimeEpoch
        - pageNumber
        - pageSize
    PageWebhookDeliveryLogsResponse:
      type: object
      properties:
        deliveryLogs:
          type: array
          description: Delivery log rows of the requested page
          items:
            $ref: '#/components/schemas/WebhookDeliveryLogResponse'
        totalRecords:
          type: integer
          format: int64
          description: Total number of matching delivery log rows
          example: 128
        pageNumber:
          type: integer
          format: int32
          description: Zero-based page number of this response
          example: 0
        pageSize:
          type: integer
          format: int32
          description: Page size of this response
          example: 20
    StandardErrorResponse:
      type: object
      description: Standard API error response structure
      properties:
        timestamp:
          type: string
          format: date-time
          description: Timestamp when the error occurred
          example: YYYY-mm-DDTHH:MM:SS.nnnnnnnnn
        status:
          type: integer
          format: int32
          description: HTTP status code
          example: XXX
        error:
          type: string
          description: Error name or type
          example: Error Name
          minLength: 1
        message:
          type: string
          description: Main error message
          example: Error Message
          minLength: 1
        messages:
          type: array
          description: Additional detailed error messages
          items:
            type: string
        path:
          type: string
          description: Request path that caused the error
          example: /endpoint/uri/here
          minLength: 1
      required:
        - error
        - message
        - path
        - status
        - timestamp
    WebhookDeliveryLogResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Delivery log row ID
        createdAt:
          type: string
          format: date-time
          description: When the delivery was recorded
        accountId:
          type: string
          format: uuid
          description: Account that owns the webhook
        registrationId:
          type: string
          format: uuid
          description: Registration that triggered the delivery
        recipientId:
          type: string
          description: Recipient ID of the registration
        alarmId:
          type: string
          description: >-
            ID of the delivered alarm, which is the ID of the event that
            triggered it (lightningId, thunderstormId or precipitationId)
        alarmType:
          type: string
          description: 'Alarm type: LIGHTNING, THUNDERSTORM, PRECIPITATION or FORECAST'
          enum:
            - LIGHTNING
            - THUNDERSTORM
            - PRECIPITATION
            - FORECAST
        url:
          type: string
          description: Webhook endpoint URL the alarm was sent to
        httpMethod:
          type: string
          description: HTTP method used for the delivery
        contentType:
          type: string
          description: Content type of the delivered payload
        attemptCount:
          type: integer
          format: int32
          description: Number of delivery attempts made
        maxAttempts:
          type: integer
          format: int32
          description: Number of attempts the delivery policy allowed
        lastHttpStatus:
          type: integer
          format: int32
          description: >-
            HTTP status code of the last attempt; null when the last attempt got
            no response
        status:
          type: string
          description: >-
            Final delivery status: SUCCESS, FAILURE, TIMEOUT, CANCELLED, UNKNOWN
            or NOT_ATTEMPTED
          enum:
            - SUCCESS
            - FAILURE
            - TIMEOUT
            - CANCELLED
            - UNKNOWN
            - NOT_ATTEMPTED
        errorMessage:
          type: string
          description: Why the delivery did not succeed; null on success
        requestPayload:
          type: string
          description: Payload that was sent (may be truncated)
        responseBody:
          type: string
          description: Raw response body of the last attempt (may be truncated)
        startedAt:
          type: string
          format: date-time
          description: When the first attempt started
        finishedAt:
          type: string
          format: date-time
          description: When the delivery finished
        durationMs:
          type: integer
          format: int64
          description: Total delivery duration in milliseconds, retries and waits included

````

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