Skip to main content
POST
/
course_lessons
/
{lesson_id}
/
mark_as_completed
JavaScript
import Whop from '@whop/sdk';

const client = new Whop({
  apiKey: 'My API Key',
});

const response = await client.courseLessons.markAsCompleted('lesson_id');

console.log(response);
true

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

lesson_id
string
required

The ID of the lesson to mark as completed

Response

A successful response

Represents true or false values.