# Start a new exam attempt **POST /api/v1/exam/{id}/new-attempt** Create a new exam attempt for the authenticated student. Validates that the exam is within the allowed time window and the student has not exceeded the maximum number of attempts. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **id** (string) UUID of the exam to attempt ## Responses ### 201 Exam attempt created successfully ### 400 Cannot start attempt - reasons include: exam not yet started, exam already ended, maximum attempts reached, or student already has an active attempt ### 401 Unauthorized - Student authentication required ### 404 Exam not found [Powered by Bump.sh](https://bump.sh)