Claude Platform Docs

Webhooks

Create Organization Webhook Endpoint
BetaNewOrganizationWebhookEndpoint Beta.Organization.Webhooks.Create(parameters, cancellationToken = default)
POST/v1/organizations/webhooks

Create an organization webhook endpoint.

List Organization Webhook Endpoints
WebhookListPage Beta.Organization.Webhooks.List(parameters, cancellationToken = default)
GET/v1/organizations/webhooks

List the organization's webhook endpoints.

Get Organization Webhook Endpoint
BetaOrganizationWebhookEndpoint Beta.Organization.Webhooks.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/webhooks/{webhook_endpoint_id}

Retrieve an organization webhook endpoint by ID.

Update Organization Webhook Endpoint
BetaOrganizationWebhookEndpoint Beta.Organization.Webhooks.Update(parameters, cancellationToken = default)
POST/v1/organizations/webhooks/{webhook_endpoint_id}

Update an organization webhook endpoint. Only the fields you send are changed.

Delete Organization Webhook Endpoint
BetaDeletedOrganizationWebhookEndpoint Beta.Organization.Webhooks.Delete(parameters, cancellationToken = default)
DELETE/v1/organizations/webhooks/{webhook_endpoint_id}

Delete an organization webhook endpoint.

Regenerate Organization Webhook Endpoint Signing Secret
BetaOrganizationWebhookEndpointSigningSecret Beta.Organization.Webhooks.RegenerateSigningSecret(parameters, cancellationToken = default)
POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret

Replace an organization webhook endpoint's signing secret. The old secret stops working immediately. The new secret is returned only in this response.

Models
class BetaDeletedOrganizationWebhookEndpoint { Type = "webhook_endpoint_deleted"; ID; }

A deleted organization webhook endpoint.

JsonElement Type = "webhook_endpoint_deleted"

Always webhook_endpoint_deleted.

required string ID

ID of the deleted webhook endpoint.

class BetaNewOrganizationWebhookEndpoint { ID; CreatedAt; Description; /* 7 more */ }

A new organization webhook endpoint, with its signing secret.

class BetaOrganizationWebhookEndpoint { ID; CreatedAt; Description; /* 6 more */ }

A webhook endpoint that belongs to the organization rather than to one of its workspaces.

class BetaOrganizationWebhookEndpointSigningSecret { SigningSecret; }

An organization webhook endpoint's new signing secret.

required string SigningSecret

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

enum BetaOrganizationWebhookEndpointState

Whether deliveries are sent to an organization webhook endpoint.

Disabled("disabled")
Enabled("enabled")