---
title: "Replay a failed delivery"
method: POST
path: "/api/v1/integrazioni/webhooks/deliveries/{id}/replay"
tags: ["Integrations (app routes)"]
---

# Replay a failed delivery

`POST /api/v1/integrazioni/webhooks/deliveries/{id}/replay`

## Request

- Base URL: `https://api.custodo.ai`
- URL: `https://api.custodo.ai/api/v1/integrazioni/webhooks/deliveries/{id}/replay`
- Auth: HTTP bearer

Queue the original payload again for a failed or dead delivery. Successful deliveries cannot be replayed.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant-Id` string, uuid

## Response `200`

Replay a failed delivery

- object
  - `ok` true, required
  - `data` IntegrazioniWebhookDelivery, required
    - `id` string, required
    - `endpointId` string, required
    - `eventKind` string, required
    - `status` 'pending' | 'delivered' | 'failed' | 'dead', required
    - `attempts` number, required
    - `responseStatus` number, nullable, required
    - `responseExcerpt` string, required
    - `createdAt` string, required
    - `deliveredAt` string, nullable, required
    - `nextAttemptAt` string, nullable, required

## Other responses

- `400`: The request did not validate: `error.details` names the fields.
- `401`: No API key, or one that is malformed, unknown, revoked or expired.
- `403`: The module is off for this organisation, the credential lacks the permission, or the tier does not cover it.
- `404`: Nothing with that id in this organisation.
- `429`: The API key has spent its minute, or its day. See `Retry-After`.

---

[API](https://skmtc.dev/custodo/apis/custodo-integrazioni.md) · [All operations](https://skmtc.dev/custodo/apis/custodo-integrazioni/llms.txt) · [OpenAPI document](https://skmtc.dev/custodo/apis/custodo-integrazioni/revisions/16d336d3ec2a?raw)
