---
title: "Complete course"
method: POST
path: "/lms/course-progressions/{course_progression_id}/complete"
tags: ["Unified LMS API"]
---

# Complete course

`POST /lms/course-progressions/{course_progression_id}/complete`

Mark a course revision as completed for a user.

<Note>
  This endpoint requires the permission **Create and manage course progressions** to be enabled in [your scope config](/scopes).
</Note>

### Example Request Body

```json
{
  "completed_at": "2024-04-15",
  "score": 93
}
```

## Path parameters

- `course_progression_id` string, required — The ID of the course progression in Kombo or its ID in the remote system by prefixing it with `remote:` (e.g., `remote:12312`)

## Headers

- `X-Integration-Id` string, required

## Request body

- PostLmsCourseProgressionsCourseProgressionIdCompleteRequestBody
  - `completed_at` string, date-time, nullable — Date when the user completed the course revision. Defaults to the current date if not provided.
  - `score` integer, nullable — Score the user achieved for the course, as an integer between 0 and 100 (inclusive).

## Response `200`

POST /lms/course-progressions/:course_progression_id/complete Positive response

- PostLmsCourseProgressionsCourseProgressionIdCompletePositiveResponse
  - `status` 'success', required
  - `data` object, required
    - `id` string, required — The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
    - `remote_id` string, required — The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
    - `user_id` string, required — The Kombo ID of the user this progression relates to. The ID can be used to retrieve the user from the `get users` endpoint.
    - `course_revision_id` string, required — The Kombo ID of the revision this progression relates to. The ID can be used to retrieve the revision from the `get courses` endpoint.
    - `status` 'ENROLLED' | 'IN_PROGRESS' | 'COMPLETED' | 'DROPPED', nullable, required — Current status of the learner in this course revision.
    - `enrolled_at` string, date-time, nullable, required — Date when the user enrolled in the course revision.
    - `completed_at` string, date-time, nullable, required — Date when the user completed the course revision.
    - `changed_at` string, date-time, required — The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
    - `remote_deleted_at` string, date-time, nullable, required — The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
    - `remote_data` object, nullable, required — Includes the data fetched from the remote system. Please be aware that including this in you scope config might violate other scopes that are set. Remote data always has the endpoint path that we got the data from as the top level key. For example, it could look like: `{ "/companies": { ... }}` This is not available on all plans. Reach out to Kombo if you need it.
    - `user` object, required
      - `id` string, required — The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
      - `remote_id` string, required — The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
      - `first_name` string, nullable, required — The user's first name.
      - `last_name` string, nullable, required — The user's last name.
      - `work_email` string, nullable, required — The user's work email address.
    - `course_revision` object, required
      - `id` string, required — The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
      - `remote_id` string, required — The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
      - `title` string, nullable, required — The title of the course revision.
      - `course` object, nullable, required
        - `id` string, required — The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
        - `remote_id` string, required — The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
  - `warnings` object[], required — These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.
    - `message` string, required

## Other responses

- `default` — The standard error response with just the platform error codes.

---

[API](https://skmtc.net/kombo/apis/kombo-api.md) · [All operations](https://skmtc.net/kombo/apis/kombo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kombo/kombo-api/versions/1e45035b96d3/schema)
