---
title: "Entregas do webhook, das mais novas para as mais antigas"
method: GET
path: "/v1/webhooks/{id}/entregas"
tags: ["Webhooks"]
---

# Entregas do webhook, das mais novas para as mais antigas

`GET /v1/webhooks/{id}/entregas`

## Request

- Base URL: `https://api.sudrel.com.br/api`
- URL: `https://api.sudrel.com.br/api/v1/webhooks/{id}/entregas`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `status` 'sucesso' | 'pendente' | 'falhou'
- `evento` string
- `desde` string, date-time
- `ate` string, date-time
- `limite` integer
- `cursor` string

## Response `200`

OK

- object
  - `entregas` EntregaWebhook[]
    - `id` string: O `X-Sudrel-Delivery-Id`.
    - `evento_id` string: O `X-Sudrel-Event-Id`.
    - `tipo` string
    - `origem` 'automatica' | 'reenvio'
    - `status` 'sucesso' | 'pendente' | 'falhou'
    - `tentativas` integer
    - `ultimo_status_http` integer, nullable: `null` quando não houve resposta (conexão, tempo).
    - `ultima_tentativa_em` string, date-time, nullable
    - `proxima_tentativa_em` string, date-time, nullable
    - `falhou_em` string, date-time, nullable
    - `criado_em` string, date-time
  - `proximo_cursor` string, nullable

## Other responses

- `401`: `nao_autenticado`: chave de API ausente, inválida ou revogada.
- `429`: `limite_de_requisicoes` (`retentavel: true`): 120 requisições por minuto por chave, janela fixa de 60 s. Sem `Retry-After`: espere a virada do minuto e repita a MESMA requisição (com a mesma `Idempotency-Key`).

---

[API](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e.md) · [All operations](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e/llms.txt) · [OpenAPI document](https://skmtc.dev/sudrel/apis/api-publica-sudrel-nfs-e-nf-e-e-ct-e/revisions/efd7baba9e37?raw)
