ghl_course_create_lesson_quiz
Creates a quiz on a GoHighLevel course lesson, defining title, passing grade, and pass/fail messages via the Courses API.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Create Lesson Quiz Create a quiz on a lesson. Requires a Location token with courses.write. Send Version: v3. Path lessonId is sent to membership as postId. locationId, userId, and productId are not accepted in the body. Endpoint: POST /courses/products/{productId}/lessons/{lessonId}/quiz (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). | |
| lessonId | Yes | Lesson id | |
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. |