Courses::Lesson
Update Lesson
Changed onUpdate Lesson. See Permitted lesson fields in the Courses Skill; the Markdown body field is lesson_content.
put/courses/lessons/{id}
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Example request
{
"courses_lesson": {
"title": "Lesson 1",
"body": "Example Lesson",
"lesson_content": "## Welcome\nThis is the lesson content."
}
}Response
OK
Example response
{
"id": 1,
"public_id": "ucGpIe",
"title": "Lesson 1",
"body": "Example Lesson",
"section_id": 2,
"published_at": "2025-01-01T00:00:00.000Z",
"current_path": null,
"sort_order": 0,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"image": {
"id": 456,
"public_id": "XyZaBcDe",
"name": "Welcome cover",
"url": "https://images.clickfunnels.com/ab/cd/welcome-cover.png"
},
"video": {
"id": 789,
"public_id": "AbCdEfGh",
"name": "Module 1: Welcome",
"url": "https://media.example.com/video/789/original.mp4?token=abc&expires=1792522800"
}
}Changes
- breaking
the
/request property type changed fromstringnulltointegerstringnull - info
added the new optional request property
/ - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking