Skip to main content
PUT
Set push notification token

Authorizations

Authorization
string
header
default:Bearer <token>
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

device-id
string | null
device-type
string
default:ios
device-name
string
default:ios
x-api-key
string | null

Body

application/json

Schema for setting push notification token. Device is identified by header.

pushToken
string
required

Push notification token (FCM/APNs)

deviceName
string | null

Human-readable device name

Response

Successful Response

Schema for device response.

id
string<uuid>
required
userId
string<uuid>
required
deviceId
string
required
deviceType
string
required
deviceName
string | null
required
notificationToken
string | null
required
isActive
boolean
required
createdAt
string<date-time>
required