post https://api.accelevents.com/rest/u/login/token/
User can use this api for login into system using token which is sent to the user in registered email as a access link, whenever new user added as a speaker/exhibitor-admin/lead-retriever in specific event.
It will return access token details and user details in the response.
Here is the description of response attributes, which returns in the form of JSON.
Attributes | Description |
---|---|
access_token | This access token is used as authentication key to validate user has rights to access specific api or not. It contains encrypted user details with event mapped with the user. |
expires_in | The expires_in returns date and time of access token expiration. |
redirectUrl | It contains redirect url based on user role after successfully login. |
showExhibitorMenu | It returns true if user is a exhibitor admin or lead retriever else it returns false. |
userId | The userId returns unique value associated with user. |
userRole | The userrole returns the role of user associated with mapped event. |
whiteLabelURL | White label url is a unique url which is managed and provided by white label admin. |
countryCode | This field return's the user's country code |
This field returns logging user's email id. | |
eventId | This field returns unique event id in which user have logged in. |
firstName | This field returns logged in user's first name. |
lastName | This field returns logged in user's last name. |
marketingOptIn | User want to receive email updates. |
phonenumber | This field returns logged in user's phone number. |
role | This field returns logged in user's roles in list. |
userId | The userId returns unique value associated with user. |
userProfilePhoto | This field returns logged in user's profile photo url. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
4040100 | No User could be found. |