Rotate a secret in the dashboard
1
Open the endpoint
Under Settings → Developers → Webhooks, select the endpoint’s row.
2
Rotate the secret
In the actions under the row, select Rotate secret and then Rotate now.
3
Copy the new secret
Before you select I saved it, copy the new secret that starts with
whsec_, because it is shown only once.4
Update your endpoint within 24 hours
Within 24 hours, put the new secret into your endpoint’s configuration and deploy it.
Signatures during the rotation window
During the window,webhook-signature carries two signatures separated by a space, with the new secret’s signature first: