---
title: "Recover Failed Webhooks"
method: POST
path: "/endpoint/{endpoint_id}/recover"
tags: ["Endpoint"]
---

# Recover Failed Webhooks

`POST /endpoint/{endpoint_id}/recover`

## Request

- Base URL: `https://api.sinay.ai/webhook/api/v1`
- URL: `https://api.sinay.ai/webhook/api/v1/endpoint/{endpoint_id}/recover`
- Auth: API key in header `API_KEY`

Resend all failed messages since a given time.

## Path parameters

- `endpoint_id` string, required: The ep's ID or UID

## Headers

- `idempotency-key` string

## Request body

- RecoverIn
  - `since` string, date-time, required
  - `until` string, date-time, nullable

## Response `204`

no content

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: Not Found. Endpoint not found
- `422`: Validation Error
- `429`: Too Many Requests
- `500`: Internal Error

---

[API](https://skmtc.dev/safecube/apis/webhook-api.md) - [All operations](https://skmtc.dev/safecube/apis/webhook-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safecube/apis/webhook-api/revisions/86d07c02c618?raw)
