rotate_webhook_secret
Generate a NEW signing secret for a webhook. The response returns the new secret ONLY ONCE, capture and store it. The previous secret stops working immediately, so update your receiver's X-Signature verification to the new secret right away or deliveries will fail verification. Use this if the old secret was lost or leaked. SCOPE: requires a WRITE-scoped API key (a read-only key returns 403).
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 | Id of the webhook (from list_webhooks). |