Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
Course Users → Add
AI-generatedSummary
Add users to a specified LearnDash course by providing the course's Parent ID and a list of user IDs to enroll.
Inputs
- Parent ID (required) — The ID of the parent resource, specifically the course ID to which users will be added.
- Item IDs (required) — A collection of user IDs representing the users to be added to the course.
Output shape
a list of JSON objects representing the API response for each added user.
The operation returns the API response wrapped in a JSON array. Multiple users can be added in a single execution by specifying multiple IDs. Errors in JSON parameters will be surfaced as workflow errors.
Examples
Example 1: Add multiple users to a course
Set Parent ID to the specific course ID, and provide multiple user IDs in the Item IDs list.
