Ir al contenido

Listar entregas de webhook

Ver como Markdown

GET/v1/webhooks/{id}/deliveriesScope webhooks

Las últimas entregas de un webhook, de la más reciente a la más antigua: qué se envió, cuántos intentos hicieron falta y qué respondió tu endpoint.

Nombre Tipo Descripción
id obligatorio string ID del webhook.
Nombre Tipo Descripción
page integer Página que se devuelve, desde 1. Mínimo 1. Por defecto: 1.
perPage integer Elementos por página. De 1 a 100. Por defecto: 25.

200 OK · data[] + pagination

Campo Tipo Descripción
attempts integer Intentos realizados hasta ahora.
completedAt date-time Cuándo se completó o se agotaron los intentos.
createdAt date-time Cuándo se creó.
event string Evento entregado.
id integer ID único.
lastAttemptAt date-time Cuándo se ejecutó el último intento.
lastError string Por qué falló el último intento.
nextRunAt date-time Cuándo se ejecuta el siguiente intento.
responseStatus integer Estado HTTP que respondió tu endpoint en el último intento.
status string pending, running, retrying, succeeded o dead (sin intentos restantes). Uno de pending, running, retrying, succeeded, dead.
Ejemplo
{
"data": [
{
"id": 3021,
"event": "ticket.status_changed",
"status": "succeeded",
"attempts": 1,
"responseStatus": 200,
"nextRunAt": "2026-12-06T14:21:05Z",
"lastAttemptAt": "2026-12-06T14:21:06Z",
"completedAt": "2026-12-06T14:21:06Z",
"createdAt": "2026-12-06T14:21:05Z"
}
],
"pagination": {
"page": 1,
"perPage": 25,
"total": 1,
"totalPages": 1
}
}

Todos los errores tienen la misma forma; en Errores están todas las claves.

Ventana de terminal
curl 'https://api.client.service-desk.goldmaster.io/v1/webhooks/7/deliveries' \
-H "Authorization: Bearer $DUTY_API_KEY"