---
title: "Retry a webhook delivery"
method: POST
path: "/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry"
tags: ["Webhooks"]
---

# Retry a webhook delivery

`POST /api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry`
- Auth: API key in header `x-api-key`

Retry a webhook delivery. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required
- `deliveryId` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

The delivery, queued for one more attempt

- WebhookDelivery
  - `id` string, required
  - `object` 'webhook_delivery', required
  - `livemode` boolean
  - `createdAt` string, date-time
  - `endpointId` string, required
  - `eventId` string, required
  - `eventType` string, required
  - `status` 'pending' | 'sending' | 'succeeded' | 'failed', required
  - `attempts` integer, required
  - `lastAttemptAt` string, date-time, nullable
  - `lastResponseStatus` integer, nullable
  - `lastResponseBody` string, nullable
  - `lastError` string, nullable
  - `nextAttemptAt` string, date-time, nullable

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `404`: Resource not found
- `409`: Request conflicts with existing state

---

[API](https://skmtc.dev/zahlo/apis/zahlo-merchant-api.md) - [All operations](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zahlo/apis/zahlo-merchant-api/revisions/8fcbef981e0d?raw)
