Ir al contenido

Detalle de una entrega

Una entrega de webhook con cada intento: status HTTP y lo que respondió tu servidor. Para saber por qué no llegó un webhook.

GEThttps://api.kuti.pe/v1/webhook-deliveries/{id}
Permiso webhooks:read. Mismo formato que cada entrega de GET /events/{id}/deliveries.

Path

Campo
Descripción
id
stringrequerido
Id de la entrega.Ej: whd_01J8Z3K4M5N6P7Q8R9S0T1U2V3

Language

Credentials

Header

Authorization

Secret key de developer · ejemplos con SDK oficial

API Request
$ npm install @kuti-pe/node
import { KutiClient } from "@kuti-pe/node";

const kuti = new KutiClient({ secretKey: process.env.KUTI_SECRET_KEY! });

const result = await kuti.webhookDeliveries.retrieve("whd_01J8Z3K4M5N6P7Q8R9S0T1U2V3");
console.log(result.attemptHistory);
SDK oficial · guía en /sdks
Response

Elige un ejemplo de respuesta:

application/json
200OK
{
  "success": true,
  "data": {
    "id": "whd_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
    "event_id": "evt_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
    "webhook_endpoint_id": "we_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
    "endpoint_url": "https://merchant.example.com/webhooks/kuti",
    "status": "DEAD",
    "attempts": 6,
    "last_http_status": 502,
    "delivered_at": null,
    "attempt_history": [
      {
        "id": "wda_01J8Z3K4M5N6P7Q8R9S0T1U2V9",
        "attempt_number": 6,
        "attempted_at": "2026-09-29T21:12:40Z",
        "ok": false,
        "http_status": 502
      },
      {
        "id": "wda_01J8Z3K4M5N6P7Q8R9S0T1U2V3",
        "attempt_number": 1,
        "attempted_at": "2026-09-29T15:10:03Z",
        "ok": false,
        "http_status": 502
      }
    ]
  }
}