Appearance
Get User ID
This method returns the UserID generated by Upshot.ai:
javascript
// Returns a string which represents the userID generated by Upshot
Upshot.getUserId(function (userId) {
console.log("User ID:", userId);
});Get UserDetails
- Upshot.ai provides a method to get current login user details.
Handle GDPR requirements for profile management:
javascript
Upshot.getUserDetails(function (response) {
var details = JSON.parse(response);
});
