Developers

Outgoing notification deliveries and dynamic delivery requests, with filters and sorting

GET
/v1/stores/{storeId}/webhook-logs

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
perPage?integer
Range1 <= value <= 100
Default20
source?string

Value in

  • "notification"
  • "dynamic_delivery"
state?string

Value in

  • "pending"
  • "delivered"
  • "failed"
  • "imported"
event?string
Lengthlength <= 80
url?string
Lengthlength <= 200
status?integer
Range100 <= value <= 599
errorType?string
Lengthlength <= 40
invoice?string
Lengthlength <= 60
itemId?string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
responseBody?string
Lengthlength <= 200
from?string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
to?string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
sort?string
Default"created_desc"

Value in

  • "created_desc"
  • "created_asc"
  • "duration_desc"
  • "duration_asc"
  • "status_desc"
  • "status_asc"
  • "event_desc"
  • "event_asc"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/webhook-logs"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "source": "notification",      "event": "string",      "state": "pending",      "endpointId": "c8d2c7e1-e4b1-4108-9e29-3429a36a1ef3",      "endpointName": "string",      "endpointKind": "http",      "url": "string",      "attempts": -9007199254740991,      "lastStatus": -9007199254740991,      "durationMs": -9007199254740991,      "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec",      "invoiceNumber": -9007199254740991,      "itemId": "f11b669d-7201-4c21-88af-d85092f0c005",      "errorType": "string",      "errorMessage": "string",      "createdAt": "string",      "deliveredAt": "string",      "nextAttemptAt": "string"    }  ],  "pagination": {    "page": -9007199254740991,    "perPage": -9007199254740991,    "total": -9007199254740991  }}