---
title: "Replay a failed event"
method: POST
path: "/events/{eventId}/replay"
tags: ["workflows"]
---

# Replay a failed event

`POST /events/{eventId}/replay`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/events/{eventId}/replay`
- Auth: HTTP bearer

## Path parameters

- `eventId` string, required: Event event_id

## Response `200`

Replay result

- object
  - `success` boolean, required
  - `event` object, required

## Other responses

- `401`: Missing or invalid API key
- `404`: Event not found
- `409`: Only failed events can be replayed
- `500`: Processing failed

---

[API](https://skmtc.dev/mailly/apis/mailly-api.md) · [All operations](https://skmtc.dev/mailly/apis/mailly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailly/apis/mailly-api/revisions/1ceb29637301?raw)
