---
title: "Resend an event to an endpoint"
method: POST
path: "/api/v1/events/{id}/resend"
tags: ["Webhooks"]
---

# Resend an event to an endpoint

`POST /api/v1/events/{id}/resend`

## Request

- Base URL: `https://merchant.zahlo.eu`
- URL: `https://merchant.zahlo.eu/api/v1/events/{id}/resend`
- Auth: API key in header `x-api-key`

Resend an event to an endpoint. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- EventResendRequest
  - `endpointId` string, required: Any enabled endpoint of the merchant, whether or not it had a delivery of this event.

## Response `200`

The endpoint's delivery of this event after one immediate 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)
