Webhooks
Rotate a webhook signing secret
Issues a new signing key and returns its secret once. You choose what happens to the key it replaces: previous_secret: "revoke" stops it immediately; previous_secret: "expire" with expires_in (60 to 259200 seconds, which is 72 hours) keeps it signing alongside the new one so you can deploy the new secret first. While both are live, every webhook carries one signature per key. At most 3 keys are live at once. Pass signature_scheme to switch between HMAC and Ed25519.
POST
Rotate a webhook signing secret
Authorizations
Body
application/json
Response
Rotated. secret is shown only in this response (null for Ed25519, which you verify with public_key).
Available options:
email.sent, email.delivered, email.delivery_delayed, email.bounced, email.complained, email.failed, email.opened, email.clicked, email.unsubscribed, webhook_endpoint.failing, webhook_endpoint.disabled, webhook_endpoint.recovered, member.provisioned, member.deprovisioned, sso.connection.failed, sso.certificate.expiring