Here is the description of response attributes, which returns in the form of JSON.
|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|
|4040010||Phone number not found.|
|4090108||This phone number is already present in our system, Please merge your account.|
|4060001||If server cannot produce a response matching the list of acceptable values than it returns specific error message.|
|4040100||No User could be found.|
|4040009||Facebook token is not valid.|
|4090102||Incorrect password, please try again.|
|4090101||User already exist.|
|4090113||User country code is different.|
|4040200||No Event could be found|