Android & iOS
You can use our Login API for iOS and Android to uniquely identify your users and manage them across different platforms and devices. This API provides the following benefits:
- Ensures that a single user exists in Helpshift, regardless of whether that user is reaching out via the app or Web Chat
- Ensures that multiple users on the same device cannot see each others conversations
- Conversations stay secure: only logged in users can see their own conversations
Without this, multiple users using the same device would be able to see each others conversations.
The Login API is app-specific. This means that providing the same user ID for different apps will result in the creation of different users in the Helpshift system. For example, User ID “1” for your apps ‘ShiftAzon’ and ‘ShiftAway’ will be different users.
Please note: currently, the Login API will not recognize if the same user reaches out via email or your Web Support Portal contact us form. This means that a different user will be created in the Helpshift system if they reach out via these channels. Any Issues created via email or contact form outreach will not appear in the ‘Other Issues’ area.
To get started with the Login API, see our developer documentation for iOS and Android.
To support devices used by multiple users, you should use the Clear Anonymous User API to clear anonymous conversations on shared devices when users are not logged in. To do so, see our developer documentation for Clear Anonymous User for iOS and Android.
Web Chat
To track Web Chat users across different platforms and devices, you will configure the existing embed code to provide identifiers via ‘userEmail’ or ‘userId’. To learn how, see our developer documentation on Users for Web Chat.
To support devices used by multiple users, you should use the clearAnonymousUserOnLogin flag to clear anonymous conversations on shared devices when users are not logged in. To do so, see our developer documentation for clearAnonymousUserOnLogin for Web Chat.