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
}Registers or updates an Expo push token for the authenticated user and device.
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
}