Candidate Login / Token Creation

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 Endpoint}}/api/v1/checkLogin
Body
Copy
{ "email": "{Candidate emailId}", "password": "{Candidate Password}" }
Response
Case 1 : When Success
Success
{ "result": "success", "success": { "message": "Login successfully", "code": 200 }, "data": { "name": "Charlie Davis", "email": "charlie.davis@example.com", "course": "CE104", "studentId": 85628900, "cbtName": "", "sectorId": 0, "enrollmentNo": "EN567890", "profilePic": "https://gw-thinksaasmerged-deploy.s3-ap-south-1.amazonaws.com/student/assets6/image/profile.png", "redirectionUrl": "https://apidocument.thinkexam.com/autoLogin/s7vgxWZZIaR4RV1FbSDieC4gARwu1hzwSsUxJwGyDGcebmpanZTVnciL*lz5ymDWhaxNPrTfTY3WbtlLfcwHFtpnyaAH5Z38WHFduc+e2KP3ob8RoEywfUWVU1ZW5MpIqXmBTeWm6cjwGsomNZwExS+T8uuY9VO8BvFxnn5JihkclNdPwezGK4YEsMJehHyDw2g3Ex5KL*sSQPRj2H56iYaaEbCg1mz37voSbKnoOsG9oLGN*MeLRcx2F9eioXUvBa7wohiCkY+dOubw+1Ude*RHtLX5j6m9KUsCegP84RFE5HEo2r27eOqEfZui+aUSqcISUElNXmYYlIjb+4MACMPirDpCL4rK85UIoXub8AEQkXYn6xULnLtOjdWomYbI4VuKbbmMV1+P*M2+Dcn37+*vVyBJT9uR6IhS5lZKRPo=", "isIHRPEnable": 0, "loginStatus": null, "isPhc": 0 }, "ACCESS_TOKEN": "s7vgxWZZIaR4RV1FbSDieC4gARwu1hzwSsUxJwGyDGcebmpanZTVnciL*lz5ymDWhaxNPrTfTY3WbtlLfcwHFtpnyaAH5Z38WHFduc+e2KP3ob8RoEywfUWVU1ZW5MpIqXmBTeWm6cjwGsomNZwExS+T8uuY9VO8BvFxnn5JihkclNdPwezGK4YEsMJehHyDw2g3Ex5KL*sSQPRj2H56iYaaEbCg1mz37voSbKnoOsG9oLGN*MeLRcx2F9eioXUvBa7wohiCkY+dOubw+1Ude*RHtLX5j6m9KUsCegP84RFE5HEo2r27eOqEfZui+aUSqcISUElNXmYYlIjb+4MACMPirDpCL4rK85UIoXub8AEQkXYn6xULnLtOjdWomYbI4VuKbbmMV1+P*M2+Dcn37+*vVyBJT9uR6IhS5lZKRPo=", "LARAVEL_TOKEN": "6yeY18koE6cB9ieTT70zKwNZgueNMpLv2p1KD6lMpnlYhYxBVKNRMuU6uHMoppQ*O024xKZs5iBh20sTgOXLbQ==" }
Case 2 : When User credentials doesn't match
Error
{ "result": "no_record", "no_record": { "msg": "User credentials doesn't match" }, "LARAVEL_TOKEN": "6yeY18koE6cB9ieTT70zK4gDEsfTbN+RXMoFtg43VIORyFJnoP1M1QXGQpVN4L4C5S8*qA1FIYUpiMqc25yNUw==", "ACCESS_TOKEN": "" }
    • Related Articles

    • Candidate Submitted Exam List

      POSTCandidate Submitted Exam List This API will be used to retrieve all of the tests submitted to candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation API. Custom-Header Copy{ "token": ...
    • Candidate Assigned Exam List

      POSTCandidate Assigned Exam List This API will be used to retrieve all of the tests issued to candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation API. Custom-Header Copy{ "token": ...
    • Candidate Single Exam Score Data

      POSTCandidate Single Exam Score Data This API will be used to retrieve scorecard details for tests submitted by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation API. Custom-Header ...
    • Candidate Single Exam Subject Wise Score Data

      POSTCandidate Single Exam Subject Wise Score Data This API will be used to retrieve subject-specific score details for tests given by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation ...
    • Candidate Single Exam Topic Wise Score Data

      POSTCandidate Single Exam Topic Wise Score Data This API will be used to retrieve question-specific score details for tests submitted by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token ...