NotifyHookDocs
Receiving webhooks

Delivery & retries

How NotifyHook decides that a delivery worked, when it retries and how long it keeps trying.

Delivery statuses#

StatusMeaning
SUCCESSYour endpoint returned 2xx.
QUEUEDWaiting to be sent or retried. Delivery continues automatically.
FAILEDGave up: a permanent error, or no attempts left.
SKIPPEDThe rule's filters or settings dropped the notification, so nothing was sent.

What is retried#

OutcomeRetried?
2xxNo, this is success
408 Request Timeout, 429 Too Many RequestsYes
5xxYes
Timeout, DNS failure, connection refused, TLS error, phone offlineYes
Other 4xx (400, 401, 403, 404, …)No. Fails right away, because sending the same request again won't change the answer.
Other non-2xx codes, or an invalid request (bad URL or header)No
Want NotifyHook to retry?

If your endpoint is briefly unable to process a request, for example because a dependency is down, return 503 rather than 400. NotifyHook will try again later.

Backoff schedule#

Retries use exponential backoff: 30 s × 2attempts so far, capped at 6 hours. With the default of 5 attempts, that's the first try plus up to 4 retries:

AttemptWaits aboutTotal elapsed
1 (first try)immediately0
21 min~1 min
32 min~3 min
44 min~7 min
58 min~15 min
6–10 (if raised)16, 32, 64, 128, 256 minup to ~8.5 h

Change the ceiling (1–10) in Settings → Max retry attempts. The current setting is consulted on each attempt, including existing queued deliveries; raising it does not automatically revive a failed event. These are minimum per-event waits, not promised execution times: WorkManager has its own backoff and Android may delay background work further. Queued deliveries survive ordinary app restarts and reboots, but not uninstalling or clearing app storage. Force-stopping can suspend work until you reopen the app.

Waiting without using up attempts#

Some deliveries are QUEUED without an attempt being made. These don't count towards the limit, and they're sent once the condition clears:

Event log saysWhy
Forwarding pausedThe master switch in Settings was turned off after the delivery was queued.
Rule disabledThe rule was switched off after the notification matched.
Waiting for Wi-FiWi-Fi only is on and the phone isn't on Wi-Fi.
Waiting for networkThe phone has no usable connection.

Resuming forwarding or re-enabling a rule re-arms pending work, but does not bypass an event's existing backoff deadline. Wi-Fi-only means the active connection must use Wi-Fi, including metered Wi-Fi; unmetered cellular or Ethernet alone does not qualify.

Retries resend the same request#

A retry is a replay of the original request, not a new render:

  • The body, URL and headers are fixed when the notification first arrives. {{event.uuid}}, {{time.*}} and every other variable keep their original values.
  • Referenced named secrets are read again at send time, so replacing a token in the vault updates pending retries. If the original request had HMAC signing enabled, its key is also read again. Adding signing to a previously unsigned rule does not retroactively sign queued events.
  • Editing the rule's template, URL or non-secret headers doesn't change deliveries that are already queued. Only new notifications use the change.
  • If the rule is deleted, its pending deliveries fail with "Rule deleted".

Because the same request may arrive more than once, use {{event.uuid}} to de-duplicate.

Retry now#

Expand a QUEUED or FAILED event in the Event log and tap Retry now to send it once immediately, for example after fixing a 401 by updating a secret. If it fails again and has no attempts left, it stays failed.

Manual retry bypasses the scheduled wait and can make another attempt even after the automatic limit, but still respects master pause, the rule's enabled state and the network policy. It replays the original URL and body: editing a failed rule's URL or template isn't a repair for the old event. Trigger a fresh notification to use those edits.

A retry can show "This delivery cannot be safely replayed. Send a fresh notification." This happens for events that can't be rebuilt safely, such as entries saved by older versions of the app. Trigger a new notification instead.