Webhook deliveries overview
How to find a webhook delivery, read what was sent and how your receiver answered, and replay it after a failure.
A delivery is one event sent to one of your endpoints, with its attempts and your receiver's last answer. These calls are how you debug a receiver and recover from downtime. They need a provider key and ignore the partner header.
| Endpoint | What it does |
|---|---|
GET /webhooks/deliveries | Pages through deliveries, newest first. |
GET /webhooks/deliveries/{id} | Reads one, with its payload and attempts. |
POST /webhooks/deliveries/{id}/replay | Sends it again as a new delivery. |
The flow#
- Localoy → Your receiver: Deliver an event
- Note: Receiver is down — attempts fail, then FAILED
- — After you fix the receiver —
- Your platform → Localoy: GET /webhooks/deliveries?status=FAILED
- Localoy → Your platform: 200 failed deliveries
- Your platform → Localoy: GET /webhooks/deliveries/{id}
- Localoy → Your platform: 200 payload, attempts, last answer
- Your platform → Localoy: POST …/{id}/replay
- Localoy → Your platform: 202 queued as a new delivery
- Localoy → Your receiver: Same event id, same payload
- Your receiver → Localoy: 2xx — SUCCEEDED
- Find it. Filter the list by
partnerId,endpointId,eventorstatus.PENDINGis waiting fornextAttemptAt;SUCCEEDEDgot a2xx;FAILEDran out of attempts or failed in a way that is not retried. Page withlimitandoffset. - Inspect it. Retrieve one delivery for the exact payload and the outcome of its latest attempt.
- Replay it. The replay is a new delivery through the queue, with the usual retries. The
original stays as it was. It carries the same event ID and payload, so deduplicate on the event
ID, and it is marked
isTest: truebecause it is not a new occurrence. Follow it with the retrieve call; the replay itself answers202.
Rules to remember#
- A replay to a disabled endpoint answers
409 webhook_endpoint_disabled— enable it first. - A replay about a partner who has since paused or disconnected you answers
409 webhook_replay_connection_inactive. - An unknown delivery answers
404 webhook_delivery_not_found.
Guide: Webhooks for providers and Delivery and retries.