---
title: "POST /events"
method: POST
path: "/events"
tags: ["events"]
---

# POST /events

`POST /events`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/events`
- Auth: HTTP bearer

## Request body

- TrackEventDto
  - `event_type` string, required
  - `user_properties` object
  - `event_data` object
    - `data` object, required
      - `quantity` number
      - `quitReason` string
      - `feedback` string
      - `uninstallDescription` string

## Response `204`

---

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