---
title: "Webhook deliveries API: did the alert reach your endpoint"
description: "List recent webhook deliveries newest first, with the event, attempts made, pending, delivered or failed status and the last HTTP code, using an admin key."
canonical: https://pentestllm.ai/docs/webhooks-deliveries
generated: 2026-11-27T06:25:49.615Z
source: https://pentestllm.ai/docs/webhooks-deliveries
base_url: https://api.pentestllm.ai/v1
---

[Docs](https://pentestllm.ai/docs) / API reference

# Webhook deliveries API

Updated 2026-11-22. Published by PentestLLM.

When a low-balance alert or an incident notice should have reached your on-call channel and did not, one route under `https://api.pentestllm.ai/v1` shows each recent delivery, newest first, with its attempt count and the last status your endpoint returned.

## Route

| Route | Statuses |
| --- | --- |
| `GET /v1/webhooks/deliveries` | 200, 401 |

## Each delivery

A 200 carries `data`, newest first. Each row:

| Field | Meaning |
| --- | --- |
| `id` | The delivery. |
| `webhook_id` | The endpoint it went to. |
| `event` | balance.low, balance.empty, key.budget_reached, key.limit_reached, topup.credited, payment.failed, incident.opened or incident.resolved. |
| `attempts` | Sends made so far, at most 3. |
| `status` | pending, delivered or failed. |
| `last_status_code` | The HTTP status your endpoint last returned, or null when it did not answer. |
| `created_at` | When the delivery was queued, Unix milliseconds. |
| `done_at` | When it was delivered or given up, Unix milliseconds; null while pending. |

## Errors

No valid admin key is `401 invalid_api_key`. The OpenAPI document lists no other error for the route.

## Example

```bash
curl https://api.pentestllm.ai/v1/webhooks/deliveries \
  -H "Authorization: Bearer sk-ptl-live-…"
```

## Questions

### Which key reads this?

An admin key. Delivery history is an account-level audit view, so a key scoped to model calls gets 401 invalid_api_key.

### How do I tell a dead endpoint from a slow one?

A null last_status_code means the latest attempt got no answer at all; a 5xx means your endpoint answered and failed. After at most three attempts the status settles as delivered or failed and done_at is set.

### Where are the endpoints themselves set up?

Not here; this route only reports what was sent. Endpoints that relay finished requests, signed webhooks included, live on the log export reference.

## Read next

- [MCP servers](https://pentestllm.ai/docs/mcp-servers)
- [Log export](https://pentestllm.ai/docs/exports)
- [Invoices](https://pentestllm.ai/docs/invoices)
- [Billing details](https://pentestllm.ai/docs/billing-details)
- [Statement signing key](https://pentestllm.ai/docs/statements-public-key)
- [Keys and scopes](https://pentestllm.ai/docs/keys)
- [Usage and signed receipts](https://pentestllm.ai/docs/usage-and-receipts)
- [Spend limits and balance](https://pentestllm.ai/docs/spend-limits)
- [Redaction and guardrails](https://pentestllm.ai/docs/redaction-and-guardrails)
- [Sessions](https://pentestllm.ai/docs/sessions)
- [Embeddings, rerank and moderation](https://pentestllm.ai/docs/retrieval-and-moderation)
- [Batch files](https://pentestllm.ai/docs/files)
- [Batches](https://pentestllm.ai/docs/batches)
- [Status and proof feeds](https://pentestllm.ai/docs/status-and-proof)
- [Count tokens](https://pentestllm.ai/docs/count-tokens)
- [Usage by app](https://pentestllm.ai/docs/stats-apps)
- [App sign-in keys](https://pentestllm.ai/docs/auth-keys)
- [Docs: connect in two minutes](https://pentestllm.ai/docs)
