Webhook
Buat Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.New(ctx, params) (*BetaNewOrganizationWebhookEndpoint, error)POST/v1/organizations/webhooks
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Daftar Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.List(ctx, params) (*Page[BetaOrganizationWebhookEndpoint], error)GET/v1/organizations/webhooks
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Tampilkan daftar endpoint webhook organisasi.
Dapatkan Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.Get(ctx, webhookEndpointID, query) (*BetaOrganizationWebhookEndpoint, error)GET/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Ambil endpoint webhook organisasi berdasarkan ID.
Perbarui Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.Update(ctx, webhookEndpointID, params) (*BetaOrganizationWebhookEndpoint, error)POST/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Perbarui endpoint webhook organisasi. Hanya field yang Anda kirim yang diubah.
Hapus Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.Delete(ctx, webhookEndpointID, body) (*BetaDeletedOrganizationWebhookEndpoint, error)DELETE/v1/organizations/webhooks/{webhook_endpoint_id}
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Buat Ulang Signing Secret Endpoint Webhook Organisasi
client.Beta.Organization.Webhooks.RegenerateSigningSecret(ctx, webhookEndpointID, body) (*BetaOrganizationWebhookEndpointSigningSecret, error)POST/v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Ganti signing secret endpoint webhook organisasi. Secret lama langsung berhenti berfungsi. Secret baru hanya dikembalikan dalam respons ini.