Referência da API
Listar entregas
Histórico de entregas pros últimos 15 dias (retenção fixa). Filtra automaticamente pra mostrar só deliveries deste webhook (matching `postbackUrl` + presença de `body.event`). **Rate limit:** 30 chamadas / minuto por API key (HTTP 429 se exceder). Endpoint pesado — cache no seu lado (~30s) recomendado pra dashboards.
GET
/v2/webhooks/:id/deliveriesAutenticação
HTTP Basic Auth. Envie sua secret key no header:
Authorization: Basic {base64(secret:SUA_SECRET_KEY)}Parâmetros
idstring (path)obrigatórioUUID do webhook.
Exemplo: wh_8f2c1a9d
pageinteger (query)opcionalPágina (0-indexed). Default 0.
Exemplo: 0
limitinteger (query)opcionalItems por página (1-100). Default 50.
Exemplo: 50
Respostas
200
Lista paginada de deliveries.
JSON
{
"items": [
{
"id": "wd_abc",
"event": "cashin.paid",
"status": "SUCCESS",
"statusCode": 200,
"durationMs": 187,
"attemptCount": 1,
"errorMessage": null,
"createdAt": 1716913800000
}
],
"total": 1,
"page": 0,
"limit": 50
}Exemplos
cURL
curl "https://api.pagnovo.com/v2/webhooks/wh_8f2c1a9d/deliveries?limit=20" \
-H "Authorization: Basic $(echo -n 'secret:SUA_SECRET_KEY' | base64)"