---
title: "Track a custom event"
method: POST
path: "/track/event"
tags: ["Tracking"]
---

# Track a custom event

`POST /track/event`

## Request

- Base URL: `https://api.onegoodarea.com`
- URL: `https://api.onegoodarea.com/track/event`
- Auth: none required

Record a custom event. Public by design (used by the web app for QR scans).

## Request body

- object
  - `event` string
  - `properties` object
  - `targets` string[]

## Response `200`

Default Response

- object
  - `ok` true, required

## Other responses

- `400`: Default Response

---

[API](https://skmtc.dev/onegoodarea/apis/onegoodarea-api.md) · [All operations](https://skmtc.dev/onegoodarea/apis/onegoodarea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onegoodarea/apis/onegoodarea-api/revisions/b318d28b3412?raw)
