Alerts Rotate Webhook Secret
alerts_rotate_webhook_secretRotate the signing secret of one of the user's webhook channels (ids from alerts_list_channels). A new secret is generated and returned as secret (show it to the user now; it is shown again any time on Account -> Alerts -> channels, Show secret). When the channel had a secret, the old one keeps signing for 24 hours (previous_secret_valid_until): until then every delivery carries TWO sig= values in X-Vike-Signature (the new secret's first, the old one's second). A receiver must accept a delivery if ANY sig= value matches its secret; one that compares a single value rejects deliveries during those 24 hours. Rotating again inside them ends the first overlap. A legacy channel that had no secret rotates without overlap (previous_secret_valid_until is null, one sig=). Install the new secret, then call alerts_test_webhook to check it.
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": {
"channel_id": "<channel_id>"
},
"name": "alerts_rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The webhook channel id (from alerts_list_channels). |