> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.com/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.

**id** `string` *required*

The endpoint id.

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

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.