---
title: "Register Device"
method: POST
path: "/api/mobile/devices"
tags: ["Mobile Devices"]
---

# Register Device

`POST /api/mobile/devices`

## 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/api/mobile/devices`
- Auth: HTTP bearer

Register the current device for the authenticated user.

If the device already exists (same user + deviceId), its token and
notification state are updated in place.

## Request body

- MobileDeviceRegisterRequest
  - `deviceToken` string, required
  - `deviceId` string, required
  - `platform` string, required
  - `notificationsEnabled` boolean
  - `language` string

## Response `200`

Successful Response

- MobileDeviceRead
  - `deviceId` string, required
  - `platform` string, required
  - `language` string
  - `notificationsEnabled` boolean, required
  - `assignmentNotificationsEnabled` 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)
