# Assign a participant to an exam **POST /exam-participants/assign** Registers or assigns a participant to a specific exam. The participant must be active and have verified their email. ## Servers - https://app.indolat.com/api/v1: https://app.indolat.com/api/v1 () ## Authentication methods - X client key ## Parameters ### Body: application/json (object) JSON object containing the participant ID and exam ID for the assignment process. - **participant_id** (integer) Unique ID of the participant to be assigned to or unassigned from an exam. - **exam_id** (integer) Unique ID of the exam related to the assignment or unassignment operation. ## Responses ### 201 Participant successfully registered or assigned to the exam. ### 400 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. ### 401 Authorization failed. Ensure the `X-Client-Key` sent is valid and active. ### 403 Invalid or inactive client. The API key may be incorrect, expired, or your account does not have permission. ### 404 Participant or Exam data with the given ID was not found. ### 422 Validation error occurred on the submitted participant ID or exam ID. ### 500 An internal server error occurred. Please try again shortly or contact support. [Powered by Bump.sh](https://bump.sh)