*User Registration
Register DeviceToken
Please make sure you have InstanceID and InstanceKey (of the user group where you want to register a new user) ready. If no, please refer to the part of account registration
Telematics parameters
User service enables managing user's telematics parameters. It can be set up during registration or changed later via Update User method.
Register a new user
POST
http://user.telematicssdk.com /v1/Registration/Create
Register a new user. The method returns DeviceToken that will be placed to telematics SDK and will play a role of an identifier to link telematics data with app user. Authorization: Allow anonymous
Headers
For transition period we are using Device Token, however it will be replaced with JWT token soon.
For the purpose of smooth transition, we recommend you to store JWT token and refresh token together with Device ID. Once we will be ready to move to JWT Token we will inform our clients respectively. Device Token will be supported over 12 month since announcement.
JWT token has a lifetime. After this period - it expires. When your JWT token is expired you should refresh your token.
We will support the old platform till November 01, 2021 and keep inform all our clients about progress and required steps.
Important: JWT Token will be used in other API Requests.
Optionally you can add user information to User Service as well as manage SDK tracking and data collection
Adding user information unlocks better experience working with DataHub. The more information you share, the more completed profile you will get in DataHub, as well as more data for portfolio categorisation.
In case if added UBI Platform as a product you have to add either phone number of email as a login and generate a password. You can create password for your users and send it via sms or email. Currently the system supports 2 types of login: phone number -> password is sent via sms; email -> password will be emailed.
Register multiple users
POST
/v1/Registration/CreateMany
Create a bulk of users Authorization: Allow anonymous
Path Parameters
Refresh Token
For any actions use JWT token. You can get it after registration (if GenerateAccessToken = true), Authorization and after RefreshToken.
Using: got 401 Error => refresh token => new JWT and refresh token. Refresh token changes when Login and RefreshToken.
Refresh Token
POST
https://user.telematicssdk.com/v1/RefreshToken
Authorization: Allow Anonymous
Request Body
Format of Body Request:
Last updated