RotateWebhookSecret
PublicAPIService
RotateWebhookSecret
RotateWebhookSecret issues a new signing secret for an endpoint without interrupting deliveries: the new secret is returned once, and the previous one stays valid until prev_secret_expires_at. During that window deliveries are signed with both, so switch your verification to the new secret before the deadline. Rotating again replaces the outgoing secret rather than adding a third, so at most two secrets are ever accepted at once.
POST
RotateWebhookSecret
Authorizations
Your API key, prefixed sc_live_ or sc_test_.
Path Parameters
id is the webhook endpoint whose signing secret to rotate.