---
title: "Register push device"
method: POST
path: "/Notification/Devices"
tags: ["Notification"]
---

# Register push device

`POST /Notification/Devices`

**Auth:** Authenticated - any signed-in user.

Registers (upserts by token) the calling user's push device so the API can deliver notifications in-house. Called after sign-in on each platform.

## Request body

- RegisterDeviceRequest
  - `platform` string, nullable
  - `provider` string, nullable
  - `token` string, nullable
  - `topic` string, nullable
  - `environment` string, nullable
  - `deviceName` string, nullable
  - `appVersion` string, nullable

## Response `200`

Success - device registered

- RegisterDeviceResponse
  - `device` PushDevice
    - `id` integer
    - `userEmail` string, required
    - `platform` string, required
    - `provider` string, required
    - `token` string, required
    - `topic` string, nullable
    - `environment` string, nullable
    - `deviceName` string, nullable
    - `appVersion` string, nullable
    - `createdAt` string, date-time, nullable
    - `lastSeenAt` string, date-time, nullable
    - `active` boolean

## Other responses

- `400` — An Error Occurred - Platform, Provider and Token are required
- `401` — Unauthorized - user not found

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
