List delivery attempts for a webhook subscription
GET
/api/v1/vendor/webhooks/{id}/deliveries
const url = 'https://api-omni.linra.net/api/v1/vendor/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/deliveries?page=1&pageSize=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api-omni.linra.net/api/v1/vendor/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/deliveries?page=1&pageSize=20' \ --header 'Authorization: Bearer <token>'Self-serve debugging read — every delivery ATTEMPT (not just distinct logical events) within the configured retention window, newest first. Requires the Orders capability.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Query Parameters
Section titled “Query Parameters”page
integer
pageSize
integer
Responses
Section titled “Responses”A page of delivery attempts.
Media typeapplication/json
object
state
required
string
payload
required
details
object
payload
required
object
items
Array<object>
object
id
string format: uuid
eventType
string
idempotencyKey
Stable across every retry attempt of the SAME logical event — the same value that appears as eventId in the delivered envelope. Use it to dedupe.
string
attemptNumber
integer
httpStatus
integer
sentAt
string format: date-time
succeeded
boolean
errorSummary
string
deadLetteredAt
string format: date-time
nextAttemptAt
string format: date-time
pagination
object
page
integer
pageSize
integer
totalCount
integer
totalPages
integer
Example
{ "state": "SUCCESS", "payload": { "items": [ { "eventType": "vendor.order.assigned" } ] }}Your token doesn’t carry the capability this endpoint requires.
Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplemissingCapability
{ "state": "FORBIDDEN_CAPABILITY_NOT_GRANTED", "payload": null, "details": { "requiredCapability": "Orders" }}Unknown subscription id.
Media typeapplication/json
object
state
required
string
payload
details
object
Examples
ExamplenotFound
{ "state": "NOT_FOUND_VENDOR_WEBHOOK_SUBSCRIPTION", "payload": null, "details": {}}Too many requests. Retry after the Retry-After header (seconds).
Media typeapplication/json
object
state
required
string
payload
details
object
Example
{ "state": "NOT_FOUND_VENDOR_OFFER"}Headers
Section titled “Headers”Retry-After
integer
Seconds to wait before retrying.