create_courses
Create multiple Skilljar courses in one batch. Provide required titles and optional details; each row is processed separately, returning IDs and failures so you can confirm exact results.
Instructions
Create one or more courses. This is a BATCH operation.
Pass a list even for a single course. Each item is an attributes object:
`title` is required (1-500 characters); `short_description`,
`long_description_html`, `enforce_sequential_navigation` and `created_by_email`
are optional. Any other attribute is rejected rather than silently dropped.
Rows are processed independently and the result reports each one, so a partial
failure is normal: check `failed` before reporting success. `ids` holds the new
course ids in the order they were created.
A new course has NO lessons and is not published - creating one does not make it
visible to anyone. Requires the `courses:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courses | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |