---
title: "Generate event v3"
method: POST
path: "/api/v3/event"
tags: ["Events"]
---

# Generate event v3

`POST /api/v3/event`

Sends any backend <a href="https://docs.esputnik.com/reference/how-to-use-the-generate-event-api-resource">events</a> from websites and mobile apps to our system. Secure for sensitive data.For sending frontend events, mobile apps should use <a href="https://docs.esputnik.com/reference/integrating-your-app-with-esputnik">SDK</a>.The request example is available <a href="https://docs.esputnik.com/reference/abandonedcart-event-example">at the link</a>.<ul><li><b>NOTE:</b> The maximum size of event data in the request body is <b>20 KB</b>.</li></ul>

## Request body

- FlatEvent
  - `eventTypeKey` string, required — Unique identifier for the event type, e.g., PageViewed. <a href="https://docs.esputnik.com/docs/validating-event-parameters#eventtypekey">Read more...</a>
  - `params` object — An objects — key-value pairs containing contact identifiers (required) and event-specific parameters (optional).<a href="https://docs.esputnik.com/docs/validating-event-parameters#params">Read more...</a>

## Response `200`

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too many requests
- `500` — Internal Server Error

---

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