Replay webhooks after you fix the bug

Providers retry on their own schedule, or not at all. When your handler was broken for an hour, you need the missed events delivered again, to the right place, on your terms.

Replay one event

Pick any stored event and choose where to send it: your production server, staging, or a CLI destination on your laptop. The delivery is recorded like any other, so you can see the response your code gave this time.

Edit the payload first

Replaying the original is not always what you want. Before sending, change fields in the body or headers to test an edge case, such as an amount of zero, a missing field or a different event type, without asking the provider to trigger anything. The original event is never modified.

Replay everything that failed

After an outage you rarely want one event, you want all of them. Select several events, or everything that matches a filter, and replay them in one go as a job. The job tracks how many were delivered and how many failed, and each event keeps its own result.

Keep the weird ones and fire them on demand

Bookmark the payload with a null where a string should be, or the one that took down your parser. Bookmarks stay available after ordinary events expire, and you can send them to your routes whenever you like, including from the terminal:

hookrelay events replay <event-id> --destination <destination-id>
hookrelay fixtures send --bookmark <bookmark-id> --wait

Both need the CLI, installed with npm install -g hookrelay-cli, and a signed-in workspace.

Know when to replay

Alerts tell you when deliveries start failing or a busy endpoint goes quiet, by email or Slack, so you replay as soon as the fix is out instead of hearing about it from users. To see what changed in a payload between a working event and a failing one, diff the two events.

Try it with your own provider

The free plan needs no card. Create an account, add an endpoint, and paste its URL into your provider's webhook settings. The first event shows up in seconds.

Keep reading