Rotate a webhook secret without losing the endpoint
A webhook signing secret is shown once, at the moment you create the endpoint, and we never show it again. That is deliberate and it is how API keys work here too. What was missing was the other half: if you lost the secret, or never captured it in the first place, there was no way to get a working one back. Recreating the endpoint gave you a new secret but abandoned the old endpoint, its id and its delivery history, and left a gap where nothing was registered.
You can now press Rotate secret on any endpoint on the Webhooks page, or call
POST /v1/webhooks/{id}/rotate-secret. It issues a fresh secret and shows it
once. The endpoint keeps its id, its URL and every delivery we have recorded
against it. Only the secret changes. The old one stops verifying the moment you
rotate, so have somewhere to paste the new one before you press it.
We have also written down the thing that sent one customer on a multi-day investigation. Every endpoint carries its own independent secret, and an endpoint’s URL cannot be changed after you register it. So moving your handler to a new URL means registering a second endpoint, and that second endpoint signs with a new and unrelated secret. If your handler is still verifying with the first endpoint’s secret, every signature mismatches while your algorithm and your raw body are perfectly correct. The webhooks guide now covers that case with a worked example, and tells you to list your endpoints first when a signature will not verify.