Register / Login Candidate with test link

Register / Login Candidate with test link

POSTRegister / Login Candidate with test link

This API will be used to register or log in a candidate. Additionally, this API is used to assign another course to a registered candidate.

Name and email address are required fields.

Pass ak, sgn, and ts as headers, and all three parameters will be received using the Signature Generation API.

Header
ak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URL
Copy
{{API Endpoint}}/api/v1/unifiedAuth
Body
Copy
{ "name": "{Candidate Name}", "enrollment_number": "{Candidate Enrollment Number}", "email": "{Candidate Email}", "password": "{Candidate Password}", "mobile": "{Candidate Mobile No.}", "gender": "{Candidate Gender}", "dob": "{Candidate DOB}", "courseName": "{Candidate Course Name}", "profilePic": "{Candidate Profile Pic}" }
Response
Case 1 : When Registration Success
Success
{ "result": "success", "success": { "msg": "Registration Successfull." }, "data": { "studentId": 85638625, "enrollmentNo": "GW228_1", "profilePic": "https://gw-thinksaasmerged-deploy.s3-ap-south-1.amazonaws.com/student/assets6/image/profile.png" }, "laravelToken": "6yeY18koE6cB9ieTT70zK1xldgPAKev3mc7BvT5HN3OBdDVFfOK9L7uBllSdhckY+Ao9r7wh0DoOSu35*tGB9Q==" }
Case 2 : When Login Success
Success
{ "result": "success", "success": { "msg": "Login Successfull." }, "data": { "studentId": 85638625, "enrollmentNo": "GW228_1", "profilePic": "https://gw-thinksaasmerged-deploy.s3-ap-south-1.amazonaws.com/55730/student/profile/85638625.jpeg" }, "laravelToken": "6yeY18koE6cB9ieTT70zK4bXgAt31Z+ZX4VCoE6vss*gvKeTYkPxk+NoWbgXg8FwxZSR0wygmATuq3vr9dMQCA==" }
Case 3 : When Details is missing
Error
{ "result": "error", "error": { "code": "3023", "msg": "{field name} should not be blank" } }