---
title: "Publish Course"
method: POST
path: "/courses/{id}/publish"
tags: ["Course"]
---

# Publish Course

`POST /courses/{id}/publish`

Makes the course live by setting `published_at`. Pass an optional future `published_at` to schedule the publish; omit it (or leave it blank) to publish immediately.
**Note**: publishing the course does not publish its sections or lessons — use the `Courses::Sections::PublishAction` resource for that.
Returns 422 if `published_at` is supplied but is not a valid ISO 8601 datetime.

## Path parameters

- `id` string, required

## Request body

- object
  - `published_at` string, date-time — Optional ISO 8601 datetime at which the course should become live. Omit or leave blank to publish immediately.

## Response `200`

OK

- CourseAttributes — Courses
  - `id` integer — Course ID
  - `public_id` string, nullable — Course public ID
  - `title` string — Title
  - `published_at` string, date-time, nullable — Available at
  - `root_section_id` string, nullable — Root section
  - `description` string — Description
  - `current_path` string, nullable — Course Path URL
  - `sharing_fingerprint` string, nullable — Sharing Fingerprint
  - `show_in_community` boolean, nullable — Show In Customer Center?
  - `show_to_non_members` boolean, nullable — Show To Non Members
  - `upgrade_url` string, nullable — Upgrade URL
  - `redirect_to_full_course` boolean, nullable — Redirect To Full Course
  - `unauthorized_redirect_url` string, nullable — Unauthorized Redirect
  - `comments_enabled` boolean, nullable — Enable Lesson Comments?
  - `created_at` string, date-time, nullable — Created at
  - `updated_at` string, date-time, nullable — Updated at
  - `image_url` string, nullable — The URL of the image that is shown on the storefront of the main course page

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity — `published_at` is not a valid datetime

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
