Rotate Tool Webhook Secret
Rotate the HMAC signing secret on a webhook tool. The tool id
is preserved so attached agents keep working; only the secret
rolls. The new plaintext is returned on webhook_secret
exactly once — store it immediately, subsequent reads always
return the masked placeholder. The previous secret is
invalidated immediately on success.
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Response
The tool with its newly-rotated webhook_secret.
Prefixed wire identifier (tool_<26 char Crockford base32>).
Where the tool executes.
system: worker-resident built-in (e.g. end_call, play_audio)webhook: worker signs a payload and POSTs it to your URLclient: worker dispatches to the caller’s browser/SDK via data channelmcp: worker connects to a customer-hosted MCP server and proxies tool calls
One of SystemToolConfig, WebhookToolConfig, ClientToolConfig, or MCPToolConfig depending on kind.
HMAC signing secret for kind=webhook. Returned in full only on the create
response; all subsequent reads return a masked placeholder. Store it on first
create — there is no way to retrieve it later.