Webhooks

Listar endpoints de webhooks

GET
/v1/webhook-endpoints

Cada endpoint con cuántas entregas tuvo en las últimas 24 horas y cuántas fallaron. Nunca trae el secreto de firma: solo se muestra al crearlo o rotarlo.

Autorización

AutorizaciónBearer <tu clave API>

Tu clave API: fb_sandbox_… emite en Sandbox, fb_test_… en test, el servicio de pruebas de la autoridad tributaria, y fb_live_… en live, su producción.

En: header

Parámetros de consulta

limit?integer

Cuántos por página, de 1 a 100.

Rango1 <= value <= 100
Por defecto20
cursor?string

El next_cursor o el prev_cursor de una respuesta anterior. Sin cursor, la primera página.

Longitudlength <= 200

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhook-endpoints"
{  "object": "list",  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "object": "webhook_endpoint",      "environment": "sandbox",      "url": "http://example.com",      "events": [        "*"      ],      "disabled": true,      "secret_hint": "string",      "previous_secret_expires_at": "2019-08-24T14:15:22Z",      "deliveries_24h": 0,      "failed_24h": 0,      "failing_since": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string",  "prev_cursor": "string"}