Virtual Event Hub (Portal) Signup/Login

This API is used for signing up or logging in the user into the Virtual Event Hub ('Portal' being its technical name).
If the email provided is already registered, the user will be logged in. Otherwise, it'll create a new user with the provided email address and automatically log the user into the Virtual Event Hub.
It's necessary to provide the user's first name, email, phone number, country code and password (following the regular password requirements) for the registration to be successful.

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.
redirectUrlIt contains redirect url based on user role after successfully login.
showExhibitorMenuIt returns true if user is a exhibitor admin or lead retriever else it returns false.
userIdThe userId returns unique value associated with user.
userRoleThe userrole returns the role of user associated with mapped event.
whiteLabelURLWhite 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 CodeError Description
4010102 (If user tried wrong password multiple times)
Your account has been locked to protect your security. Please reset your password or try again after 30 minutes.

Your account has been locked to protect your security. Please reset your password or wait and try again.
40600013 Cant create url.
4040200 No Event could be found.
4040100 No User could be found.
406 More than one user exist with same email.
4090107 This email is already associated with another phone number.
4090108 This phone number is already associated with another email address.
4090102 Incorrect password, please try again.
4090101 User already exist.
4090113 User Already Present with "specified country code" as country code.
Click Try It! to start a request and see the response here!