Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
I'm using the ID from a teacher trial account to make the endpoint POST (/api/v1/accounts/:account_id/courses) and when I attempt to create a new course, everything looks to work but I'm not seeing the course being created. Anyone know if the API POST's will work with a trial account?
Hi @EdKane
Are you getting a course object back when you run the API, as described in https://canvas.instructure.com/doc/api/courses.html#method.courses.create ?
That would be the biggest clue indicating whether or not it was working.
One thing to consider is that the API will create a new course, but it will not enroll you in the course. So, you would not see it listed with your courses, even if it was successfully created.
I'm also getting the same problem where I create the course but it does not shows into my dashboard. The main reason that I found is that the created course must me enrolled as a teacher.
If you have found the solution, please share with me
That makes sense, since creating a course and enrolling a user are really separate operations.
I wonder if you could use the "enroll a user" API (https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.create ) with the course_id that is returned by the "create course" API to enroll yourself in the course?
To participate in the Instructure Community, you need to sign up or log in:
Sign In