ghl_course_create_lesson
Create a lesson in a GoHighLevel course by providing the course ID, title, and category ID. Requires a sub-account token with courses.write permission.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Create Lesson Create a lesson. Requires title and categoryId. Accepts lesson columns. locationId, userId, productId, originId are not accepted. Requires a Location token with courses.write. Endpoint: POST /courses/products/{productId}/lessons (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. |