post https://api.accelevents.com/rest/u/loginUserByUserKey/
User can use this api for login into the system using user key, which has been sent to the user in mail, whenever user have purchase any tickets or user has been added as a admin/staff in specified event.
There is no requirement of username and password.
User can use this user key only for once.
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. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
4010101 | User is not authorize to access. Not A Valid Magic Link. |
4010102 | (If the passed user key is blocked than it shows below error message) This key has been blocked. |
4068006 | Link has been expired Or used. |