- Capture a real staging payload.
- Replace ids and text with fakes; keep field shapes.
- Re-sign with the staging secret if tests verify HMAC.
- Store fixtures in repo without real tokens.
- Refresh when platforms add required fields.
Tutorial
Anonymize webhook fixtures for CI
Replace tokens and PII while keeping signature-valid structure.