Webhook Rotate Secret
webhook_rotate_secretGenerate a new signing secret for a webhook, return it once, and immediately invalidate the previous secret so old signatures stop validating.
Instructions
Generate a new signing secret for a webhook. The response contains the secret exactly once; the previous secret stops validating immediately.
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": {
"organizationId": "<organizationId>",
"webhookId": "<webhookId>"
},
"name": "webhook_rotate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | The webhook id (see webhook_list). | |
| organizationId | Yes | The organization id. Use organization_list to find it. |