# Create a new lesson in topic **POST /api/v1/unit-instance/{unit}/{topic}/new-lesson** Add a new lesson to a specific topic within the unit. Lessons are the primary learning content units. Only admins and lecturers can create lessons. ## Servers - Local server: http://localhost:3500 (Local server) - Production server: https://api.echoplain.social (Production server) ## Parameters ### Path parameters - **unit** (string) UUID of the unit instance (unit offering) - **topic** (string) UUID of the topic to add lesson to ### Body: application/json (object) Lesson data including title, description, content, and materials - **title** (string) - **description** (string) ## Responses ### 201 Lesson created successfully ### 400 Invalid lesson data ### 403 Forbidden - Admin or Lecturer role required ### 404 Topic not found [Powered by Bump.sh](https://bump.sh)