Skip to main content
The List Hooks endpoint can function as a Dead Letter Queue (DLQ). You can fetch all failed hooks within a specific time range, process them, and then delete them.

Workflow

  1. List Failed Hooks: Use status=failed and filters like postAtAfter (e.g., “yesterday”).
  2. Process: Iterate through the list and handle the failures (e.g., log them, alert a team, or manually fix the data).
  3. Delete: Once processed, delete the hook to remove it from the queue.
Automate this with Sequences: You can set up a recurring Sequence Pattern to trigger your DLQ processing endpoint every day.

Bulk Retry

If you had a temporary outage (e.g., your database was down), you can batch retry failures instead of deleting them.
  1. List Failed Hooks (as above).
  2. Extract IDs: Collect the id from each hook (or use the SDK’s bulk retry directly).
  3. Bulk Retry: