Listar webhooks

Usalo para ver qué endpoints de webhooks tiene la cuenta, a qué eventos está suscripto cada uno, su estado y su salud.

GET
/webhooks/endpoints

Lectura · requiere el permiso accounts:read.

Listado · perPage de 1 a 100 (por defecto 25) · orden fijo: id ascendente · no acepta parámetros de orden.

Autorización

http
headerAuthorizationBearer <clave>

Cuerpo de la respuesta

Array of WebhookEndpointResource

Paginated set of WebhookEndpointResource

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/webhooks/endpoints"
[  {    "id": 0,    "url": "string",    "description": "string",    "status": "string",    "disabled_reason": "string",    "events": [      {        "event_type": "string",        "enabled": true      }    ],    "health": {      "consecutive_failures": 0,      "last_delivery_at": "string",      "last_success_at": "string"    },    "secret_rotated_at": "string",    "created_at": "string",    "updated_at": "string"  }]