Webhooks

Rotate signing secret

Generate a new signing secret for the endpoint. The previous secret remains valid for 24 hours: during the grace window every delivery is signed with BOTH secrets (two comma-separated v1= values in X-Winnr-Signature), so you can roll the new secret out to your consumers without dropping deliveries.

post/v1/webhooks/{webhook_id}/rotate-secret

Request

  • Base URL: https://api.winnr.app
  • URL: https://api.winnr.app/v1/webhooks/{webhook_id}/rotate-secret
  • Auth: HTTP bearer

Path parameters

webhook_idstring required

Webhook endpoint ID

Response

New signing secret

Changes

No recorded changes to this operation across all 1 revision of this API.