Course lesson interactions

Retrieve course lesson interaction

Changed on

Retrieves the details of an existing course lesson interaction.

Required permissions:

  • courses:read
  • course_analytics:read
get/course_lesson_interactions/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required
Example:crsli_xxxxxxxxxxxx

The unique identifier of the lesson interaction to retrieve.

Response

A successful response

CourseLessonInteraction required

A record of a user's progress on a specific lesson, tracking whether they have completed it.

completed, boolean required

Whether the user has finished this lesson.

course, object required

The course that contains the tracked lesson.

created_at, string date-time required

The datetime the lesson interaction was created.

id, string required

The unique identifier for the lesson interaction.

lesson, object required

The lesson that this progress record belongs to.

user, object required

The user whose progress is being tracked.

Example response

{
  "course": {
    "experience": {
      "id": "exp_xxxxxxxxxxxxxx"
    },
    "id": "cors_xxxxxxxxxxxxx",
    "title": "Introduction to Ceramic Coating"
  },
  "created_at": "2023-12-01T05:00:00.401Z",
  "id": "crsli_xxxxxxxxxxxx",
  "lesson": {
    "chapter": {
      "id": "chap_xxxxxxxxxxxxx"
    },
    "id": "lesn_xxxxxxxxxxxxx",
    "title": "Preparing Paint for Ceramic Coating"
  },
  "user": {
    "id": "user_xxxxxxxxxxxxx",
    "name": "Marcus Webb",
    "username": "marcuswebb"
  }
}

Changes