---
title: "Track Events"
method: POST
path: "/track"
tags: ["Events"]
---

# Track Events

`POST /track`

## Query parameters

- `ip` integer
- `verbose` integer
- `img` integer
- `callback` string

## Request body

- object[]
  - `event` string, required — The name of the event.
  - `properties` object, required — A JSON object containing properties of the event.
    - `token` string — Project token.
    - `time` integer — The time at which the event occurred, in seconds or milliseconds since UTC epoch. If the time value is set in the future, it will be overwritten with the current present time at ingestion.
    - `distinct_id` string — The unique identifier of the user who performed the event.
    - `$insert_id` string — A unique identifier for the event, used for deduplication. Events with identical values for (event, time, distinct_id, $insert_id) are considered duplicates; only the latest ingested one will be considered in queries.

## Response `200`

* `1` - One or more objects provided are valid. This does not signify a valid project token or secret.
* `0` - No data objects in the body are valid.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

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