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" } }
    • Related Articles

    • How to create a test from Test Manager?

      To create a test, follow the steps given below. Step 1 : create Test 1.Click on the “Test Manager” Tab and then click on the “Test” button. 2. Now click on the “Add” button which is on the right hand side of the screen. 3. Here, add all relevant ...
    • How to create a Pool Test?

      Steps to create a Pool Test: Step 1: Create Test Log in to your Think Exam panel and navigate to the "Test Manager" tab. Click on "Test" and then on "Add" to create a new test. Enter the test details, such as name, duration, instructions, and other ...
    • How can we get test links from the admin panel?

      Steps to get Test Links form the Admin Panel : Log in to the Admin Panel and navigate to the Test Manager module. 2. Click on the three dots next to the test name under the Action button and select Copy Test Link. Admins can now share these copied ...
    • Candidate Login / Token Creation

      POSTCandidate Login / Token Creation This API will be used to log in a candidate. Request Parameters: email and password are required. The password is encoded in base64. Custom-Header{ "name": "{{Client URL}}" } URL Copy{{API ...
    • Register a Canddiate

      POSTRegister a Candidate This API will be used to register candidates. Request Parameters: The name, email, and password are required. The password is encoded in base64. Custom-Header{ "name": "{{Client URL}}" } URL Copy{{API ...