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

> 60 revisions in range; 4 could not be searched.

- **2024-03-26** `2ddfad646792` — 1 info
  - api operation id `BatchReplayEvents` was added
- **2024-02-20** `17b85b56a687` — 1 info
  - added the new optional `query` request parameter `direction`
- **2024-02-20** `152f0e36cf45` — 1 warning
  - deleted the `query` request parameter `direction`
- **2024-02-08** `5e75c52bd9bd` — 1 info
  - added the new optional `query` request parameter `direction`
- **2024-01-31** `bd65a487b1be` — 7 warning, 8 info
  - deleted the `query` request parameter `endpointID`
  - deleted the `query` request parameter `endpointIDs`
  - deleted the `query` request parameter `eventID`
  - deleted the `query` request parameter `eventType`
  - …11 more

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

---

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