Assign a participant to an exam
Registers or assigns a participant to a specific exam. The participant must be active and have verified their email.
Responses
-
Participant successfully registered or assigned to the exam.
-
Failed to assign: Participant is not active or has not verified email / Number of exam participants exceeds limit / Participant is already registered for this exam.
-
Authorization failed. Ensure the
X-Client-Key
sent is valid and active. -
Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission.
-
Participant or Exam data with the given ID was not found.
-
Validation error occurred on the submitted participant ID or exam ID.
-
An internal server error occurred. Please try again shortly or contact support.
POST
/exam-participants/assign
curl \
--request POST 'https://app.indolat.com/api/v1/exam-participants/assign' \
--header "X-Client-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"participant_id":101,"exam_id":202}'
Request examples
{
"participant_id": 101,
"exam_id": 202
}