Update course
Course
Update course
Update a course’s name, appearance, AI instructions, and other settings. Supports image uploads.
POST
Update course
Updates one or more settings for an existing course. All body fields except
courseID are optional — only the fields you include will be updated. Authentication is required.
If you are uploading a background image, send the request as
multipart/form-data. If you are only updating text fields, you can send the request as application/json.Request headers
Your JWT authentication token.
Request body
The ID of the course to update.
New display name for the course.
New input hint text shown in the chatbot’s message field.
New accent color for the chatbot UI as a hex string, e.g.
"#3b82f6".Custom AI system prompt that replaces the default assistant instructions.
A custom OpenAI API key to use for this course instead of the platform default.
A background image for the chatbot. Must be sent as
multipart/form-data. The image is uploaded to Cloudinary and the resulting URL is stored in backgroundImg.Response
200 — Success
Returns the full updated course object.Unique identifier for the course.
The course display name.
The AI system prompt used by the course chatbot.
The chatbot accent color as a hex string.
The input field hint text shown in the chatbot UI.
URL of the chatbot background image. Updated to a new Cloudinary URL if an image was uploaded.
The OpenAI assistant ID for this course.
IDs of files uploaded to OpenAI for retrieval.
Array of Transcription document IDs for the course’s processed videos.
Array of Source document IDs (MongoDB ObjectIds) for the processed YouTube videos.
Custom OpenAI API key for this course, if set.
Examples
200