---
title: "Replay failed webhook deliveries"
method: POST
path: "/v1/webhooks/endpoints/{endpointId}/recover"
tags: ["Webhooks"]
---

# Replay failed webhook deliveries

`POST /v1/webhooks/endpoints/{endpointId}/recover`

Redelivers every failed delivery to the endpoint since a timestamp. Useful after an outage on your receiver. Runs asynchronously in the background.

## Path parameters

- `endpointId` string, required

## Headers

- `X-API-Key` string

## Request body

- RecoverEndpointDto
  - `since` string, required — Replay failed deliveries created at or after this timestamp
  - `until` string — Only replay failed deliveries created before this timestamp

## Response `201`

Replay started successfully

- RecoverEndpointResponseDto
  - `status` 'RUNNING' | 'FINISHED' | 'FAILED', required — Status of the background replay task

## Other responses

- `401` — Unauthorized - Invalid or missing authentication credentials

---

[API](https://skmtc.dev/infinite/apis/infinite-api.md) · [All operations](https://skmtc.dev/infinite/apis/infinite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infinite/infinite-api/revisions/5426f2706725/schema)
