ghl_course_get_lesson_assignment
Retrieve the assignment for a course lesson by product and lesson ID, requiring a sub-account location token. Use it to fetch lesson assignment details from GoHighLevel courses.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Get Lesson Assignment Get the assignment for a lesson. Requires a Location token with courses.readonly. Send Version: v3. Endpoint: GET /courses/products/{productId}/lessons/{lessonId}/assignment (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.readonly
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"lessonId": "<lessonId>",
"locationId": "<locationId>"
},
"name": "ghl_course_get_lesson_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lessonId | Yes | Lesson id | |
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. |