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

# Rotate the signing secret

> Replace the signing secret. Deliveries are signed with the new one from the next event.

<ParamField path="id" type="string" required>The endpoint id.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.agentcard.sh/api/v2/webhook_endpoints/we_7h2k9p4m/roll_secret \
    -H "Authorization: Bearer $ORG_TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  { "id": "we_7h2k9p4m", "secret": "whsec_…" }
  ```
</ResponseExample>

Update your verifier before events start arriving signed with the new secret.
