Courses::Lesson
Publish Lesson
Changed onMakes a single lesson live by setting published_at. Pass an optional future published_at to schedule it; omit it to publish now. A past published_at is rejected. A lesson's published_at is not writable via updateCoursesLessons, so this is the way to publish or schedule an individual lesson. See Publishing in the Courses Skill for the other publish paths.
post/courses/lessons/{id}/publish
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
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
- info
endpoint added
- info