I’m not aware of a built-in way. You can create a custom script that would do this:
-
Through the API, get the list of the webhooks events at
https://your-discourse.com/admin/api/web_hook_events/X.json
Where X is your webhook ID. -
The endpoint lists the 50 last events. Use the
offsetquery parameter to go further in the list. For example:
https://your-discourse.com/admin/api/web_hook_events/1.json?offset=50 -
Loop through every returned event. For each event, do a POST request to
https://your-discourse.com/admin/api/web_hooks/2/events/XXX/redeliver
Where XXX is the event’s ID. -
Because of the API rate limit, wait at least a few seconds between each API call.
Tested and working ![]()
And thanks @Lucas_Alves for learning me about the offset parameter ![]()