Rotate webhook secret
rotate_webhook_secretIssue a new signing secret, returned once.
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": {
"webhookId": "<webhookId>"
},
"name": "rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | Webhook id, from list_webhooks. | |
| gracePeriodSeconds | No | How long requests carry signatures for both the new and the previous secret, so the receiver can switch without missing events. 0 stops signing with the previous secret at once, for a leaked secret. |