Listar webhooks
RegistosGET /developer/webhooks
Returns the tenant's webhook endpoints, one cursor page at a time, with their URL, subscribed events, enabled flag and health. Signing secrets are not included. Requires developer:read.
Parâmetros
limitMaximum resources to return (default 20, maximum 100).
afterOpaque cursor returned by the previous page.
Devolve
200 Endpoints
Mostrar atributos
dataMostrar atributos filhos
idurldescriptioneventsEvent types, or * for all
enabledcreated_bycreated_atupdated_atprevious_secret_expires_athealthum de
healthy,degraded,failing,paused_automatically,paused_by_ownerhealth_changed_atfailing_sinceconsecutive_failurespaused_reasonapi_versionsecretThe signing secret; present only on the create and roll responses
has_morenext_cursor
Permissões developer:read · Funções: admin, owner
curl -X GET "$BUSINESS_API/developer/webhooks" \
-H "Authorization: Bearer sk_test_..."
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$BUSINESS_API/developer/webhooks", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$BUSINESS_API/developer/webhooks",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$BUSINESS_API/developer/webhooks", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
{
"data": [
{
"id": "dev_2waHzwg9riK13kAtNGAHfAgvB0c",
"url": "https://example.org/",
"description": "Leitura confirmada no local.",
"events": [
"event"
],
"enabled": true,
"created_by": "created by",
"created_at": "2026-11-19T09:30:00Z",
"updated_at": "2026-11-19T09:30:00Z",
"previous_secret_expires_at": "2026-11-19T09:30:00Z",
"health": "healthy",
"health_changed_at": "2026-11-19T09:30:00Z",
"failing_since": "2026-11-19T09:30:00Z",
"consecutive_failures": 1,
"paused_reason": "paused reason",
"api_version": "api version",
"secret": "secret"
}
],
"has_more": true,
"next_cursor": "next cursor"
}