---
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

- `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

## Other responses

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

## Changes

- **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
- **2024-07-12** (v3) `59336767e79a` — 1 info
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/acknowledged_at` to the response with the `200` status
- **2024-04-04** (v3) `317ec51848e3` — 3 info
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/source_metadata/body_function` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/source_metadata/header_function` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/source_metadata/pub_sub/amqp/vhost` to the response with the `200` status
- …earlier changes not shown

[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/de665d0e2fc3/schema)
