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 have the following (relative) URL to retrieve students from a course and include their email address. The student users are returned, but the email attribute is missing from the JSON. I may be using the include parameter incorrectly, but I can't think of another way to do it.
courses/sis_course_id:341466/users?enrollment_type=student&include=email&per_page=40
Thanks for any help.
Solved! Go to Solution.
You were very close! It should be like this with square brackets after include:
courses/sis_course_id:341466/users?enrollment_type=student&include[]=email&per_page=40
You were very close! It should be like this with square brackets after include:
courses/sis_course_id:341466/users?enrollment_type=student&include[]=email&per_page=40
Thanks Matt! This was indeed the issue. Sorry for the late reply, it took me a while to get back to this project.
Always happy to help my local higher ed institutions! I like to encourage my teachers to use Canvas by listing all the nearby colleges and universities that use Canvas too. Troy is always in my list!
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