Frontend SignUp
Use this API to register a new user from frontend website.
HTTP REQUEST
POST /user/signup
REQUEST BODY PARAMETERS
| title | string | Title. It should be Mr, Mrs, Ms, Dr, Prof |
| firstName required |
string | First Name |
| lastName required |
string | Last Name |
| email required |
string | Email Address |
| countryCode required |
string | Country code |
| mobile required |
string | Contact Number |
| ipAddress required |
string | IP Address |
| sendEmailNotification required |
integer | 1 – Yes, 0 – No |
| receiveVerificationEmailOn | string | Email address |
| password | string | If userCanChoosePassword = 1 than set password. |
| city | integer | City ID |
| state | integer | State ID |
| country | integer | Country ID |
| reCaptchaToken | string | Token |
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"userId": "126"
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}
| Field | Type | Description | userId | string | Token |
| Code | Description |
| 1007 | ‘Missing firstName’ |
| 1008 | ‘Invalid firstName’ |
| 1009 | ‘Missing lastName’ |
| 1010 | ‘Invalid lastName’ |
| 1015 | ‘Invalid mobile’ |
| 1016 | ‘Missing city/state/country’ |
| 1017 | ‘Invalid city/state/country’ |
| 1020 | ‘Missing email’ |
| 1021 | ‘Invalid email’ |
| 1022 | ‘Missing mobile’ |
| 1023 | ‘Email address provided already exist. Please provide another email address’ |
| 1024 | ‘Invalid title. It should be Mr, Mrs, Ms, Dr, Prof’ |
| 1025 | ‘Missing ipAddress’ |
| 1026 | ‘Invalid ipAddress’ |
| 1028 | ‘Missing sendEmailNotification’ |
| 1029 | ‘Invalid sendEmailNotification’ |
| 1030 | ‘Signup email template was not found’ |
| 1034 | ‘Missing receiveVerificationEmailOn’ |
| 1035 | ‘Invalid receiveVerificationEmailOn’ |
| 1036 | ‘Missing countryCode’ |
| 1037 | ‘Invalid countryCode’ |
For general error details, click here.