---
title: "Batch replay events"
method: POST
path: "/v1/projects/{projectID}/events/batchreplay"
tags: ["Events"]
---

# Batch replay events

`POST /v1/projects/{projectID}/events/batchreplay`

This endpoint replays multiple events at once.

## Path parameters

- `projectID` string, required

## Query parameters

- `body` string
- `direction` 'next' | 'prev'
- `endDate` string
- `endpointId` string[]
- `idempotencyKey` string
- `next_page_cursor` string
- `perPage` integer
- `prev_page_cursor` string
- `query` string
- `sort` string
- `sourceId` string[]
- `startDate` string

## Response `200`

OK

- object
  - `message` string
  - `status` boolean
  - `data` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

## Changes

- **2026-08-20** (v3) `d3cc48a7eaa4` — 1 info
  - added the new optional `query` request parameter `body`
- **2026-07-20** (v3) `bae289777c91` — 6 breaking, 3 info
  - the response property `allOf[subschema #2]/data` became nullable for the status `400`
  - the response property `allOf[subschema #2]/data` became nullable for the status `401`
  - the response property `allOf[subschema #2]/data` became nullable for the status `404`
  - the `allOf[subschema #2]/data` response's property type/format changed from `object`/`` to ``/`` for status `400`
  - …5 more
- **2025-03-17** (v3) `2737e2809da6` — 1 breaking, 1 info
  - the `allOf[subschema #2]/data` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - removed `#/components/schemas/datastore.Event, subschema #2` from the `allOf[subschema #2]/data` response property `allOf` list for the response status `200`
- **2024-10-23** (v3) `de665d0e2fc3` — 1 info
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/endpoint_metadata/items/failure_rate` to the response with the `200` status
- **2024-10-07** (v3) `70e466ba765e` — 2 info
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/metadata` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/status` to the response with the `200` status

[Full history](https://skmtc.dev/getconvoy/apis/convoy-api-reference/changes/v1/projects/:projectID/events/batchreplay/post.md)

---

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