Claude Platform Docs

重新生成组织 Webhook 端点签名密钥

$ ant beta:organization:webhooks regenerate-signing-secret
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret

替换组织 webhook 端点的签名密钥。旧密钥会立即失效。新密钥仅在此响应中返回。

每个请求都必须包含 beta 标头 anthropic-beta: webhooks-2026-10-07。不带该标头的请求将返回 404,就如同此 API 不存在一样。Anthropic 会为每个组织单独开启组织 webhook 端点功能;在您的组织开启之前,请求同样会返回 404。组织 webhook 端点目前处于 beta 阶段,不适用于已启用 HIPAA 就绪的组织。

Parameters
--webhook-endpoint-id: string⁠Path parameter

ID of the webhook endpoint.

maxLength2048
--beta: optional array of AnthropicBeta⁠Header parameter

This endpoint is in beta: requests must send webhooks-2026-10-07 in this header.

Returns
beta_organization_webhook_endpoint_signing_secret: object{ signing_secret }

An organization webhook endpoint's new signing secret.

signing_secret: string

The new signing secret. Deliveries are signed with it from now on, and no other response returns it.

重新生成组织 Webhook 端点签名密钥
ant beta:organization:webhooks regenerate-signing-secret \
  --api-key my-anthropic-api-key \
  --webhook-endpoint-id webhook_endpoint_id
Returns Examples
Response 200
{
  "signing_secret": "signing_secret"
}