Webhook Delivery

webhook-delivery.conf sets how long a dead-lettered Issuer2 or Verifier2 webhook stays in the MongoDB or PostgreSQL outbox. The file is optional; without it, dead letters are kept for 30 days.

Example File

webhook-delivery.conf
deadLetterRetention = 30d

Fields

deadLetterRetention

Duration — How long after it failed a dead letter is removed from the outbox. The default is 30d. The duration in whole seconds must be between 1 and 2,147,483,647. MongoDB also uses this interval to remove abandoned enqueue reservations, which contain no callback body. Pending deliveries have no failure time and remain eligible for delivery. The in-memory file outbox does not use this setting.

On MongoDB, a TTL index on failedAt removes dead letters, and a change updates that index the next time the Enterprise API starts. On PostgreSQL, a worker deletes dead letters whose failed_at is older than this interval each time it polls the outbox, so a change applies after a restart.

Last updated on November 30, 2026