---
title: "Track Ota Event"
method: POST
path: "/mobile/ota/events"
tags: ["Mobile OTA"]
---

# Track Ota Event

`POST /mobile/ota/events`

## Request

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

## Request body

- OtaEventCreate
  - `platform` 'android' | 'ios', required
  - `appVersion` string, required
  - `buildNumber` string, nullable
  - `otaVersion` integer, required
  - `event` 'check_started' | 'update_available' | 'download_started' | 'download_success' | 'download_failed' | 'install_success' | 'install_failed' | 'rollback', required
  - `message` string, nullable
  - `deviceId` string, nullable

## Response `202`

Successful Response

- OtaEventResponse
  - `accepted` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
