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

## Changes

- **2024-02-08** (v3) `8aa5161aec4c` — 1 warning, 1 info
  - added the new `amqp` enum value to the `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/source_metadata/pub_sub/type` response property for the response status `200`
  - added the optional property `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/source_metadata/pub_sub/amqp` to the response with the `200` status
- **2024-02-08** (v3) `52443da83eda` — 1 info
  - added the new optional `query` request parameter `direction`
- **2024-01-31** (v3) `4358c29a505b` — 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
- **2024-01-30** (v3) `a138f74e9d23` — 2 breaking
  - the `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/endpoint_metadata/items/http_timeout` response's property type changed from `string` to `integer` for status `200`
  - the `allOf[subschema #2]/data/allOf[#/components/schemas/datastore.Event]/endpoint_metadata/items/rate_limit_duration` response's property type changed from `string` to `integer` for status `200`
- …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/182c7b00a49a/schema)
