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

# Rotate webhook secret

> Issue a new signing secret immediately. Previous secret stops working.

<ParamField path="id" type="string" required>
  Webhook UUID.
</ParamField>

Returns the webhook with the new `signing_secret`. Update the receiver before you rotate — in-flight retries sign with the new secret.

<RequestExample>
  ```bash theme={null}
  curl -X POST https://connect.trypost.it/api/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890/rotate-secret \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>
