Why are webhooks missing or showing an error outcome, and how should I handle retries?
A webhook event can appear to be missing for a few different reasons, most of which trace back to endpoint health, event subscriptions, or normal retry behavior rather than an event genuinely being lost.
Endpoint health: If a webhook endpoint doesn't return a 200 OK within 15 seconds, Pinwheel retries delivery up to 5 times with exponential backoff (including jitter) over the 15 minutes following the initial attempt. If an endpoint fails to return a 200 for 30 consecutive days, it's automatically set to
status: pausedand stops receiving further deliveries until it's reactivated.Event subscriptions: Each webhook only fires for the events listed in its
enabled_events, so confirm the expected event (e.g.,paystubs.added) is included, and that the webhook is on the expected version.Pending outcomes: Some jobs return an outcome of
pendingon their first attempt, then are retried internally for up to 24 hours before resolving tosuccessorerrorvia a second webhook event. This isn't the same as a missing event, so it's worth allowing for that window before concluding an event never arrived.Duplicate events: Webhook delivery is "at least once," so the same
event_idmay occasionally be delivered more than once. Loggingevent_idand using it to make event handling idempotent avoids double-processing.
If an endpoint is healthy and subscribed to the correct event but a specific webhook still doesn't arrive, contact Pinwheel support with the account_id and an approximate timestamp so delivery can be checked on Pinwheel's side.
For more information on webhooks, refer to our documentation here.