Skip to main content
GET
Returns the hook’s webhook deliveries, newest first, with pagination counters. Each one is an event queued for the hook’s webhookUrl: a liquidation announced to an inform hook, an Execute Hook call on one, or a monitor’s breach. Every field of a delivery is read from Trusset’s queue, and nothing is sent or retried by this call. Only an inform action queues deliveries, so a hook that never ran one returns an empty list. Signed deliveries describes the request each attempt sends. Delivered and failed deliveries are kept for at least 30 days after they were queued and removed after that, and total counts only what is kept. Delete Hook removes all of the hook’s deliveries at once.

Path Parameters

string
required
The market’s record ID, as id on List Markets, not its contract address. See Market IDs.
string
required
Hook ID.

Query Parameters

integer
default:"50"
Records to return, 1 to 200. Out-of-range values are clamped rather than refused: above 200 returns 200, a negative value returns 1, and 0 or a non-number falls back to 50.
integer
default:"0"
Records to skip. A negative value or a non-number counts as 0.

Response Fields

object

Delivery status

A delivery that reaches DELIVERED or FAILED also writes one entry to Get Hook Executions and counts as a run in the hook’s executionCount. Nothing re-sends a FAILED delivery.

Retries

Each attempt waits up to 15 seconds for an answer. A retried failure makes the next attempt due a set time after the failed one started: 10 seconds after the first attempt, then 30 seconds, 1 minute, 5, 15 and 30 minutes, and 1 hour after the seventh. The eighth attempt is the last. Each attempt goes to the webhookUrl the hook holds when it is sent, signed with the secret the hook holds at that moment.

Error Codes