Courses::Lesson

Update Lesson. See Permitted lesson fields in the Courses Skill; the Markdown body field is lesson_content.

put/courses/lessons/{id}

Request

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

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

    • breaking

      the / request property type changed from string null to integer string null

    • 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