---
title: "Replay a recorded callback"
method: POST
path: "/v1/runs/{runId}/events/{eventId}/replay"
tags: ["Events"]
---

# Replay a recorded callback

`POST /v1/runs/{runId}/events/{eventId}/replay`

## Request

- Base URL: `https://api.ironfang.com/rig`
- URL: `https://api.ironfang.com/rig/v1/runs/{runId}/events/{eventId}/replay`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Forwards a callback the run received to its connector route again, exactly as recorded, to prove the application handles a repeat. The event must be a `callback.received` on a resource with a connector route and the run must be active. The replay is recorded as `callback.replayed`, then travels like any delivery: the timeline shows its own `callback.forwarded` and `connector.request.completed` against the original event id. Armed faults do not act on a replay; it is the test's explicit act. At most 200 replays per run. Needs rig.run.

## Response `202`

The replay is queued for the route

- object
  - `delivery_id` string, uuid, required: The delivery the connector will receive; its completion event names it.
  - `event` Event, required
    - `blob_ref` string: Reference to a stored payload too large to embed.
    - `data` object, required
    - `id` string, uuid, required
    - `occurred_at` string, date-time, required: Ironfang's clock.
    - `organisation_id` string, uuid, required
    - `project_id` string, uuid, required
    - `resource_id` string, uuid
    - `run_id` string, uuid, required
    - `sequence` integer, required: The run's own counter, contiguous from 1.
    - `suite_id` string, uuid, required
    - `type` string, required

## Other responses

- `401`: No credential, an invalid one, or a delegated token where none is accepted (`unauthorized`, `invalid_api_key`, `delegated_not_allowed`).
- `403`: The credential lacks the permission or scope, or names another organisation (`forbidden`, `insufficient_scope`).
- `404`: No such object in this organisation (`not_found`).
- `409`: The run has already ended (`run_not_active`).
- `422`: The event is not a callback on a resource with a connector route
- `429`: The run has replayed its limit of callbacks

---

[API](https://skmtc.dev/ironfang/apis/ironfang-rig-api.md) · [All operations](https://skmtc.dev/ironfang/apis/ironfang-rig-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ironfang/apis/ironfang-rig-api/revisions/3e86a312dad1?raw)
