Elenca endpoint webhook dell'organizzazione
GET/v1/organizations/webhooks
Requires
anthropic-beta: webhooks-2026-10-07. Learn how to send beta headers.Elenca gli endpoint webhook dell'organizzazione.
Un endpoint webhook dell'organizzazione appartiene all'organizzazione anziché a uno dei suoi workspace. L'elenco non include gli endpoint webhook che appartengono a un workspace.
Ogni richiesta deve includere l'header beta anthropic-beta: webhooks-2026-10-07. Una richiesta senza di esso restituisce 404, esattamente come se questa API non esistesse. Anthropic attiva gli endpoint webhook dell'organizzazione per ciascuna organizzazione; finché non sono attivi per la tua, le richieste restituiscono ugualmente 404. Gli endpoint webhook dell'organizzazione sono in beta e non sono disponibili per le organizzazioni con la predisposizione HIPAA abilitata.
Parameters
Returns
Elenca endpoint webhook dell'organizzazione
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.beta.organization.webhooks.list()
page = page.data[0]
print(page.id)Response 200
{
"data": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"disabled_reason": "disabled_reason",
"enabled_events": [
"external_key.failed"
],
"name": "name",
"state": "disabled",
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url"
}
],
"has_more": true,
"first_id": "first_id",
"last_id": "last_id"
}Returns Examples
Response 200
{
"data": [
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"disabled_reason": "disabled_reason",
"enabled_events": [
"external_key.failed"
],
"name": "name",
"state": "disabled",
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url"
}
],
"has_more": true,
"first_id": "first_id",
"last_id": "last_id"
}