> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wirebox.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Rotate Webhook Secret

> Immediately invalidate the current HMAC secret and generate a replacement secret.

### Path Parameters

<ParamField path="id" type="string" required>
  The unique webhook ID.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": "whk_01J8DEF456GHI789",
    "secret": "whsec_9Z8y7x6w5v4u3t2s1r0qP9oN8mL7k",
    "rotated_at": "2026-09-11T12:30:00Z"
  }
  ```
</ResponseExample>
