All the authentication and initial details fetch APIs are included in this section.
It is passing for device registration. It is used to generate the access token for authentication
It is passing for device registration. It is used to generate the access token for authentication..
It is a boolean value. If true, the current user token will be refreshed and a new user token will be given in the response. You can restrict multiple device login with this. If the user wants to login into multiple devices, give this value as false.
Current timestamp is using as registration_id here.
It is a boolean variable. If true, the user is allowed to log in. If false, there is some issue in login due to an invalid user token sent or something.
contains details of the user’s device that were previously active. Comparing this with the current device, you can verify the user is logging in on multiple devices. If you want to restrict this, call login API again with force_logout as true.