post https://api.accelevents.com/rest/u/signup/whiteLabel/
When user wants to register as a whitelabel admin this API is useful.
User have to pass email and password (match with the defined password criteria) for registration with whitelabelurl in which user wants to register.
Access token which is return from this api response will be pass in further request for user authentication.
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. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
4090104 | Password is Empty. |
4090105 | Email is Empty. |
4060072 | Password should contain at least 1 uppercase, 1 lowercase, 1 special character (Valid special characters: !@#$%^&*+-_=), 1 number, no whitespaces and should be at least 8 characters in length. |
4090101 | User already exist. |
4040201 | This white label event does not exist. |
4030201 | Not Event Host. |
4040100 | No User could be found. |