---
title: "Generate event v2"
method: POST
path: "/api/v2/event"
tags: ["Deprecated"]
---

# Generate event v2

`POST /api/v2/event`

Sends any backend <a href="https://docs.reteno.com/docs/sending-custom-events">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.reteno.com/reference/integrating-your-app-with-reteno">SDK</a>.The request example is available <a href="https://docs.reteno.com/reference/subscriptionstarted-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

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

## Response `200`

---

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