cURL
curl --request POST \ --url http://localhost:8091/api/push-tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "token": "<string>", "platform": "ios" } '
Registers a push notification token for the authenticated user’s device.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Push notification token
Device platform
web
ios
android
Push token registered