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.Documentation Index
Fetch the complete documentation index at: https://docs.posthook.io/llms.txt
Use this file to discover all available pages before exploring further.
Workflow
-
List Failed Hooks: Use
status=failedand filters likepostAtAfter(e.g., “yesterday”). - Process: Iterate through the list and handle the failures (e.g., log them, alert a team, or manually fix the data).
-
Delete: Once processed, delete the hook to remove it from the queue.
Bulk Retry
If you had a temporary outage (e.g., your database was down), you can batch retry failures instead of deleting them.- List Failed Hooks (as above).
-
Extract IDs: Collect the
idfrom each hook (or use the SDK’s bulk retry directly). -
Bulk Retry: