Regenerate Organization Webhook Endpoint Signing Secret
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Replace an organization webhook endpoint's signing secret. The old secret stops working immediately. The new secret is returned only in this response.
Every request must include the beta header anthropic-beta: webhooks-2026-10-07. A request without it returns 404, exactly as if this API did not exist. Anthropic turns organization webhook endpoints on for each organization; until yours is on, requests also return 404. Organization webhook endpoints are in beta and are not available to organizations with HIPAA readiness enabled.
Regenerate Organization Webhook Endpoint Signing Secret
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_organization_webhook_endpoint_signing_secret = anthropic.beta.organization.webhooks.regenerate_signing_secret("webhook_endpoint_id")
puts(beta_organization_webhook_endpoint_signing_secret)Response 200
{
"signing_secret": "signing_secret"
}Returns Examples
Response 200
{
"signing_secret": "signing_secret"
}