---
title: "Get Webhook Logs"
method: GET
path: "/v1/shops/{shopId}/webhook-logs"
tags: ["Webhook Logs"]
---

# Get Webhook Logs

`GET /v1/shops/{shopId}/webhook-logs`

Retrieves outgoing webhook and dynamic-delivery request logs for debugging.

## Request body

- object
  - `page` integer — Page number.
  - `perPage` integer — Items per page, 1-100. Must be at least 1. Must not be greater than 100.
  - `orderColumn` 'id' | 'created_at' | 'response_status' | 'duration_ms'
  - `orderDirection` 'asc' | 'desc'
  - `source` 'notification' | 'dynamic_delivery'
  - `event` string — Filter by event name.
  - `invoice_id` string — Filter by invoice ID or unique ID.
  - `invoice_item_id` integer — Filter by invoice item ID.
  - `success` boolean — Only successful or failed deliveries.
  - `response_status` integer — Filter by HTTP response status.
  - `error_type` string
  - `url` string — Search by URL.
  - `response_body` string — Search in response bodies.
  - `created_at_start` string — Must be a valid date.
  - `created_at_end` string — Must be a valid date. Must be a date after <code>created_at_start</code>.

## Response `200`

- object
  - `current_page` integer
  - `data` object[]
    - `id` integer
    - `shop_id` integer
    - `source` string
    - `event` string
    - `invoice_id` integer
    - `invoice_item_id` string
    - `url` string
    - `request_headers` string
    - `request_body` object
      - `data` object
        - `invoice_id` integer
      - `event` string
      - `shop_id` integer
    - `response_status` integer
    - `response_body` string
    - `success` boolean
    - `error_type` string
    - `error_message` string
    - `duration_ms` integer
    - `created_at` string
    - `updated_at` string
  - `first_page_url` string
  - `from` integer
  - `last_page` integer
  - `last_page_url` string
  - `links` object[]
    - `url` string
    - `label` string
    - `active` boolean
  - `next_page_url` string
  - `path` string
  - `per_page` integer
  - `prev_page_url` string
  - `to` integer
  - `total` integer

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
