Webhooks

Consultar un endpoint de webhooks

GET
/v1/webhook-endpoints/{id}

El 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 ruta

id*string
Formatouuid

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}