organization-webhooks changedmanage-claude/organization-webhooks
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+25added
Lines−25removed
From line
29
where the diff opens
First seen
21 Oct 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 29, old and new numbered
/
from line 29
2929
3030With an Admin API key, you can make every request in [Manage endpoints](https://platform.claude.com/docs/en/manage-claude/organization-webhooks#manage-endpoints). With an `org:admin` token, you can make the same requests. If the token is bound to a workspace other than your organization’s [Default Workspace](https://platform.claude.com/docs/en/manage-claude/workspaces#how-workspaces-work), you can’t make any of them. With a personal or service account key, the requests you can make depend on the account’s [organization role](https://platform.claude.com/docs/en/manage-claude/admin-api#organization-roles-and-permissions):
3131
32* To list or view webhook endpoints: `claude_code_user`, `developer`, or `admin`
33* To create, change, or delete webhook endpoints, or to replace a signing secret: `admin`
32* To list or get webhook endpoints: `developer` or `admin`
33* To create, update, or delete webhook endpoints, or to replace a signing secret: `admin`
3434
3535## Event types
3636
3737Organization webhook endpoints accept two event types. Both are about [enforcement actions](https://platform.claude.com/docs/en/manage-claude/user-profiles#check-whether-anthropic-has-restricted-or-banned-a-profile) on user profiles.
3838
39| Event | Trigger |
40| ------------------------------------------ | ----------------------------------------------------------------------------------- |
41| `user_profile.enforcement_action_opened` | Anthropic opens an enforcement action on a user profile. |
39| Event | Trigger |
40| ----- | ----- |
41| `user_profile.enforcement_action_opened` | Anthropic opens an enforcement action on a user profile. |
4242| `user_profile.enforcement_action_resolved` | An enforcement action ends. Anthropic resolves it, or its `expires_at` time passes. |
4343
4444Deleting a profile ends its open actions without a `user_profile.enforcement_action_resolved` event.
from line 75
7575
7676An organization webhook endpoint has these fields:
7777
78| Field | Type | Description |
79| ----------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
80| `id` | string | The endpoint’s ID, which starts with `wep_`. Set by Anthropic. |
81| `url` | string | Where Anthropic sends events. Must be HTTPS on port 443, with a public domain name, not an IP address. Two enabled organization webhook endpoints in your organization can’t share a URL. |
82| `enabled_events` | array of strings | The [event types](https://platform.claude.com/docs/en/manage-claude/organization-webhooks#event-types) this endpoint receives. A create request must list at least one. |
83| `name` | string | An optional label for your own use. |
84| `description` | string | An optional description for your own use. |
85| `state` | string | `enabled` or `disabled`. |
86| `disabled_reason` | string | Why Anthropic disabled the endpoint. Empty otherwise. |
87| `created_at` | string | When the endpoint was created. Set by Anthropic. |
88| `updated_at` | string | When the endpoint last changed. Set by Anthropic. |
89| `signing_secret` | string | A `whsec_`-prefixed secret, created with the endpoint. Only the responses that create the endpoint or replace the secret include it, so store it securely. |
78| Field | Type | Description |
79| ----- | ----- | ----- |
80| `id` | string | The endpoint’s ID, which starts with `wep_`. Set by Anthropic. |
81| `url` | string | Where Anthropic sends events. Must be HTTPS on port 443, with a public domain name, not an IP address. Two enabled organization webhook endpoints in your organization can’t share a URL. |
82| `enabled_events` | array of strings | The [event types](https://platform.claude.com/docs/en/manage-claude/organization-webhooks#event-types) this endpoint receives. A create request must list at least one. |
83| `name` | string | An optional label for your own use. |
84| `description` | string | An optional description for your own use. |
85| `state` | string | `enabled` or `disabled`. |
86| `disabled_reason` | string | Why Anthropic disabled the endpoint. Empty otherwise. |
87| `created_at` | string | When the endpoint was created. Set by Anthropic. |
88| `updated_at` | string | When the endpoint last changed. Set by Anthropic. |
89| `signing_secret` | string | A `whsec_`-prefixed secret, created with the endpoint. Only the responses that create the endpoint or replace the secret include it, so store it securely. |
9090
9191```json
9292{
from line 129
129129
130130With the Admin API, you can make these requests:
131131
132| Task | Request |
133| ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
134| List your organization’s endpoints | [`GET /v1/organizations/webhooks`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/list) |
135| Create an endpoint | [`POST /v1/organizations/webhooks`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/create) |
136| Get one endpoint | [`GET /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/retrieve) |
137| Update an endpoint’s `url`, `name`, `description`, `enabled_events`, or `state` | [`POST /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/update) |
138| Delete an endpoint | [`DELETE /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/delete) |
139| Replace the signing secret | [`POST /v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/regenerate_signing_secret) |
132| Task | Request |
133| ----- | ----- |
134| List your organization’s endpoints | [`GET /v1/organizations/webhooks`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/list) |
135| Create an endpoint | [`POST /v1/organizations/webhooks`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/create) |
136| Get one endpoint | [`GET /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/retrieve) |
137| Update an endpoint’s `url`, `name`, `description`, `enabled_events`, or `state` | [`POST /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/update) |
138| Delete an endpoint | [`DELETE /v1/organizations/webhooks/{webhook_endpoint_id}`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/delete) |
139| Replace the signing secret | [`POST /v1/organizations/webhooks/{webhook_endpoint_id}/regenerate_signing_secret`](https://platform.claude.com/docs/en/api/beta/organization/webhooks/regenerate_signing_secret) |
140140
141141In an update, `enabled_events` replaces the endpoint’s whole list of event types. An empty list doesn’t clear the list: the endpoint keeps the event types it had. To stop deliveries, send `"state": "disabled"` or delete the endpoint.
142142
No line in this hunk matches that.