---
title: "Create Lesson Completion"
method: POST
path: "/courses/{course_id}/lesson_completions"
tags: ["Courses::LessonCompletion"]
---

# Create Lesson Completion

`POST /courses/{course_id}/lesson_completions`

Mark a lesson as completed by a specific enrollment. You can only mark a lesson as completed once. Subsequent completions for the same lesson by the same enrollment will return a conflict error.

## Path parameters

- `course_id` integer, required

## Request body

- object
  - `courses_lesson_completion` CoursesLessonCompletionParameters — Completed lessons
    - `enrollment_id` integer, required — The ID of the `Courses::Enrollment` record that completed the lesson
    - `lesson_id` integer, required — The ID of the `Courses::Lesson` record that was completed

## Response `201`

Created

- CoursesLessonCompletionAttributes — Completed lessons
  - `id` integer — ID
  - `public_id` string, nullable — Public ID
  - `enrollment_id` integer — The ID of the `Courses::Enrollment` record that completed the lesson
  - `lesson_id` integer — The ID of the `Courses::Lesson` record that was completed
  - `completed_at` string, date-time — The time when the record was completed; It is set automatically to the current time when the record is created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
