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

# Get webhook delivery logs

> Retrieve delivery logs for a webhook.

    > **Required scope:** `WEBHOOKS_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/webhooks/{webhookId}/logs
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/webhooks/{webhookId}/logs:
    get:
      tags:
        - Webhooks
      summary: Get webhook delivery logs
      description: |-
        Retrieve delivery logs for a webhook.

            > **Required scope:** `WEBHOOKS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
            description: Webhook ID
          required: true
          description: Webhook ID
          name: webhookId
          in: path
        - schema:
            type: string
            description: Page number
          required: false
          description: Page number
          name: page
          in: query
        - schema:
            type: string
            description: Items per page
          required: false
          description: Items per page
          name: pageSize
          in: query
      responses:
        '200':
          description: Logs retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                          description: Log entry ID
                        eventType:
                          type: string
                          description: Event type that triggered the webhook
                        statusCode:
                          type:
                            - number
                            - 'null'
                          description: HTTP status code from webhook endpoint
                        errorMessage:
                          type:
                            - string
                            - 'null'
                          description: Error message if delivery failed
                        attemptNumber:
                          type: number
                          description: Delivery attempt number
                        durationMs:
                          type:
                            - number
                            - 'null'
                          description: Request duration in milliseconds
                        createdAt:
                          type: string
                          format: date-time
                          description: When the delivery attempt occurred
                      required:
                        - id
                        - eventType
                        - statusCode
                        - errorMessage
                        - attemptNumber
                        - durationMs
                        - createdAt
                  meta:
                    type: object
                    properties:
                      page:
                        type: number
                      pageSize:
                        type: number
                      total:
                        type: number
                    required:
                      - page
                      - pageSize
                      - total
                required:
                  - data
                  - meta
        '404':
          description: Webhook not found
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````