Skip to main content
POST
/
notifications
/
registerPushToken
Register push token
curl --request POST \
  --url http://api.superwize.ai/api/notifications/registerPushToken \
  --header 'Content-Type: application/json' \
  --data '
{
  "expoPushToken": "ExponentPushToken[xYzAbCdEfGhIjKlMnOpQrS]",
  "deviceId": "obj_01JHKZ0PV2WX123456789",
  "platform": "ios"
}
'
{
  "ok": true
}

Body

application/json
expoPushToken
string
required
deviceId
string
required
platform
enum<string>
required
Available options:
ios,
android

Response

Push token registered.

ok
any
required