How can I automatically enroll users into a course?
This feature is only available to accounts on a paid plan
In order to automatically enroll a user into a course, use the enrollable external link for a course and make a GET request to it and append these parameters as GET parameters to the URL:
The username is the users email. If the user already exists, they will only be enrolled into the given course. The remaining parameters will be ignored.
The password needs to be at least 8 characters. If you don’t include a password, a password will automatically be created.
The key is the subscribe key you set in the course settings page.
The first_name and last_name are the users first and last names respectively.