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

const client = new Whop({
  apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});

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

console.log(response);
true

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

lesson_id
string
required

The unique identifier of the lesson the user is starting (e.g., "les_XXXXX").

Response

A successful response

Represents true or false values.