The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I'm seeing a situation where a call to get a users' courses (GET /api/v1/users/:user_id/courses) disagrees with the call to get all users in a course (GET /api/v1/courses/:course_id/users). The first call says user 12345 is in course 67890, for example, but the second call does not list that user. Any idea why this would be?
Could it be that one of the calls isn't including enrollments that haven't been accepted?
Also, do you need to add "?per_page=100" to the end of the call since it only returns the first 10 records by default?
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in