CreateCourse
Create a course in your school’s course catalogue.
Accepted fields: name, code, description, teachingHours, units. Anything else is ignored.
The course is always created in your school. Returns it in the same shape as GetSchoolCourses; use its id when creating a class (CreateClass).
Fires the COURSE_CREATED webhook.
Headers
dreamclass-secret-key
Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.
tenant
Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is “myaccount”), or your full white-labelled domain. Required on every request.
schoolCode
Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.
Request
This endpoint expects an object.
name
code
description
teachingHours
units
Response headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
X-Content-Type-Options
Cache-Control
Response
OK
name
id
units
description
code
teachingHours
