01Rotation steps
- On the webhooks screen: pick the endpoint and request a secret rotation — a new whsec_ secret is shown exactly once, just like creation.
- Store it as CURRENT_SECRET, and put the old one in a PREVIOUS_SECRET variable.
- Deploy the updated configuration — deliveries keep working throughout because signatures verify against both secrets during the overlap.
- After 24 hours from rotation, remove the old variable from your configuration.
02The overlap window and the one-layer rule
- The old secret moves to previous_secret and keeps verifying for 24 more hours — the overlap window.
- After the 24 hours, the daily maintenance job clears the old secret — from then on only the new secret verifies.
- The platform always signs with the CURRENT secret — the old one exists only for your verification.
COMPLETE YOUR INTEGRATION
