# Rotate Webhook secret key (/docs/reference/Rest-API/api-docs/webhooks/rotateWebhookSecret)


{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Rotates (or first creates) the secret used to sign webhook deliveries. The response includes the new, unmasked

<APIPage document="&#x22;openapi.json&#x22;" operations="[{&#x22;path&#x22;:&#x22;/v2/webhooks/rotate-secret&#x22;,&#x22;method&#x22;:&#x22;put&#x22;}]" />
