webhooks_regenerate_secret
Regenerate a webhook endpoint's HMAC-SHA256 signing secret, invalidating the old secret and returning the new one only once; store it securely and update verification logic.
Instructions
Issue a new HMAC-SHA256 signing secret for a webhook endpoint, immediately invalidating the previous one. The new secret is returned in full only in this response — store it securely. Update your endpoint verification logic before calling this in production.
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": {
"uuid": "<uuid>"
},
"name": "webhooks_regenerate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Webhook endpoint UUID to regenerate the secret for | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |