---
title: "Generate past events V3"
method: POST
path: "/api/v3/past_events"
tags: ["Events"]
---

# Generate past events V3

`POST /api/v3/past_events`

The method is used for transferring the available event data from your CRM or other data store to our system.<br/>Workflows are not launched for these events. You can send up to 500 events per a request. <br/> <b>NOTE:</b> Version 3 API methods do not require escaping in nested JSON. <br/><a href="https://docs.esputnik.com/docs/sending-past-events">Learn more.</a>

## Request body

- BatchPastEventsV3
  - `events` FlatPastEvent[] — The list of the past events
    - `eventTypeKey` string, required — Event type ID. If no such event type exists, a new one is created.<br> All characters are allowed, except < ; ’ \ / | " ` ' ^ ? ! , >
    - `keyValue` string, required — Event key. Determines event uniqueness.<br> The key must contain a unique value for each contact (for example, email, phone number, external contact id, etc.)<br> All characters are allowed, except < ; ’ \ / | " ` ' ^ ? ! , > <br> Max length: 300 symbols
    - `params` object — The list of event parameters represented of "key" - "value" pairs. The parameter keys are arbitrary. <br> Used in campaigns and for dynamic content creation in messages.
    - `occurred` string — Event date and time.

## Response `200`

---

[API](https://skmtc.net/esputnik/apis/esputnik-com.md) · [All operations](https://skmtc.net/esputnik/apis/esputnik-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/esputnik/esputnik-com/versions/1c4afd7ba72a/schema)
