# Listar entregas de um webhook

Source: https://won.dev/pt-BR/docs/email/webhooks-deliveries

`GET https://api.won.dev/v1/webhooks/{id}/deliveries`

As últimas entregas para um webhook, da mais recente para a mais antiga, com o que o seu servidor respondeu. Serve para descobrir por que os eventos não chegam. Grátis.

- **Cobrança:** Grátis.

Uma chave de teste (`won_test_...`) roda isto no [sandbox](/pt-BR/docs/email#sandbox): nada é enviado e nada é cobrado.

## Parâmetros [#parameters]

`id` faz parte do caminho. Os demais vão na query string, com listas separadas por vírgula.

| Parâmetro | Tipo | Obrigatório | Descrição (texto original da API) |
| --- | --- | --- | --- |
| `id` | string | sim | Webhook ID, such as `whk_2m9x7p1q8w3e5r4k`. |
| `limit` | integer | não | How many to return, 1 to 100. Default: `25`. |

## Resposta [#response]

Os erros estão descritos em [Erros](/pt-BR/docs/errors).

| Campo | Tipo | Descrição (texto original da API) |
| --- | --- | --- |
| `data` | object[] |  |
| `data[].event_id` | string |  |
| `data[].event_type` | string |  |
| `data[].status` | `pending` \| `delivered` \| `failed` | `pending` is waiting for its next attempt. `failed` was given up after eight. |
| `data[].attempts` | integer |  |
| `data[].response_status` | integer \| null | The HTTP status your server answered with. |
| `data[].duration_ms` | integer \| null |  |
| `data[].error` | string \| null | What went wrong, when no 2xx came. |
| `data[].next_attempt_at` | string \| null |  |
| `data[].created_at` | string |  |
| `data[].delivered_at` | string \| null |  |
| `notice` | string \| null | A plain sentence when there is something to know about this answer. Null otherwise. |
| `usage` | object | Nothing is charged here. The balance, for reference. |
| `usage.cost` | number | What this call cost, in US dollars. |
| `usage.balance` | number | The balance left after this call, in US dollars. |
| `usage.replayed` | boolean | True when this is a repeat of a request from the last 24 hours. Repeats are free. |

## Exemplo [#example]

```bash
curl "https://api.won.dev/v1/webhooks/whk_2m9x7p1q8w3e5r4k/deliveries?limit=1" \
  -H "Authorization: Bearer $WON_API_KEY"
```

```json
{
  "data": [
    {
      "event_id": "evt_5r4k2m9x7p1q8w3e",
      "event_type": "reply.received",
      "status": "delivered",
      "attempts": 1,
      "response_status": 200,
      "duration_ms": 184,
      "error": null,
      "next_attempt_at": null,
      "created_at": "2026-11-20T13:44:10.000Z",
      "delivered_at": "2026-11-20T13:44:41.000Z"
    }
  ],
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}
```