Register a device for push notifications
POST/api/push/register
Registers the caller's device. The caller is identified from the bearer token — do not pass a user id. Re-registering an existing token updates it and reactivates it.
Request
Responses
- 200
- 400
- 401
- 404
The persisted device registration
Missing fcmToken
Missing or invalid JWT / no email claim
No matching user for the JWT email