Notification

Register push device

Changed on

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.

post/Notification/Devices

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/Notification/Devices
  • Auth: HTTP bearer

Request body

platformstring nullable
providerstring nullable
tokenstring nullable
topicstring nullable
environmentstring nullable
deviceNamestring nullable
appVersionstring nullable

Example request

{}

Response

Success - device registered

Changes