Rotate a webhook signing secret
rotate_webhook_secretRotate the signing secret for a webhook to invalidate the old one. The new secret must be updated immediately in your endpoint's signature verification to avoid delivery failures.
Instructions
Generate a new signing secret for a webhook and return it. WARNING: the old secret stops working immediately — update your endpoint’s signature verification with the new secret right away or deliveries will fail verification.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"webhook_id": "<webhook_id>"
},
"name": "rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The webhook id. |