Courses::Lesson

Makes 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

Path parameters

idstring required

Request body

published_atstring date-time

Optional ISO 8601 datetime at which the lesson should become live. Must be now or in the future — a past datetime is rejected. Omit to publish immediately.

Response

OK

idinteger

ID

public_idstring nullable

Public ID

titlestring

Title

bodystring nullable

Description

section_idinteger nullable

Parent module

published_atstring date-time nullable

Schedule for

current_pathstring nullable

Current Path

sort_orderinteger nullable

Builder display order of the lesson within its section (section_id). Scoped per section, starting at 0.

created_atstring date-time nullable

Added

updated_atstring date-time nullable

Updated

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