Webhook Logs

Get Webhook Logs

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

get/v1/shops/{shopId}/webhook-logs

Request body

pageinteger

Page number.

perPageinteger

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'
eventstring

Filter by event name.

invoice_idstring

Filter by invoice ID or unique ID.

invoice_item_idinteger

Filter by invoice item ID.

successboolean

Only successful or failed deliveries.

response_statusinteger

Filter by HTTP response status.

error_typestring
urlstring

Search by URL.

response_bodystring

Search in response bodies.

created_at_startstring

Must be a valid date.

created_at_endstring

Must be a valid date. Must be a date after <code>created_at_start</code>.

Example request

{
  "page": 1
}

Response

current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "shop_id": 1,
      "source": "notification",
      "event": "NOTIFICATION.SHOP_INVOICE_PROCESSED",
      "invoice_id": 1,
      "invoice_item_id": null,
      "url": "https://example.com/webhook",
      "request_headers": null,
      "request_body": {
        "data": {
          "invoice_id": 1
        },
        "event": "NOTIFICATION.SHOP_INVOICE_PROCESSED",
        "shop_id": 1
      },
      "response_status": 200,
      "response_body": "OK",
      "success": true,
      "error_type": null,
      "error_message": null,
      "duration_ms": 120,
      "created_at": "2026-08-28T18:23:02.000000Z",
      "updated_at": "2026-08-28T18:23:02.000000Z"
    }
  ],
  "first_page_url": "http://api.sellauth.test/v1/shops/1/webhook-logs?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://api.sellauth.test/v1/shops/1/webhook-logs?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "http://api.sellauth.test/v1/shops/1/webhook-logs?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://api.sellauth.test/v1/shops/1/webhook-logs",
  "per_page": 20,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.