beel_rotate_webhook_secret
Rotate a webhook subscription's HMAC signing secret, immediately invalidating the old secret and returning the new one once so you can update signature verification.
Instructions
Generates a new HMAC signing secret for a webhook subscription.
Old secret: immediately invalidated. Update your signature verification logic before rotating, to avoid missing events during the transition.
New secret: returned once, in this response only. It cannot be read again.
BeeL API endpoint: POST /v1/accounts/{account_id}/webhooks/{webhook_id}/secret (reference: https://docs.beel.es)
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": {
"account_id": "<account_id>",
"webhook_id": "<webhook_id>"
},
"name": "beel_rotate_webhook_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential, and not the `BeeL-Active-Company` header — decides which account the operation acts on. An account you do not reach answers `403`, and so does an account that does not exist, so the existence of somebody else's account is never disclosed. | |
| webhook_id | Yes | Subscription of the account in the path. A subscription of another account answers `404`, the same as one that does not exist: under the account resolved from `{account_id}` it simply is not there. | |
| idempotency_key | No | Optional idempotency key for this operation. Omit it and one is derived from the request itself, which makes a blind retry safe but also collapses a SECOND, deliberately identical operation into the first for 24 hours. Set it — to an order id, or anything unique per intended operation — whenever you mean to create something that may look identical to what you just created. |