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!
Can someone tell me what this GET call is supposed to do?
I need a list of courses that are using Groups in my sub-account. Thank you.
Solved! Go to Solution.
Hi @mweilan,
That particular API call would list account groups visible to the user associated with the API token used for the call. Since you mentioned your looking at course groups, you'd need to use /api/v1/courses/:course_id/groups to see if there are groups associated with a particular course. If you want to find which courses have groups, you'd need to so a bit of programming to first get a list of all of your courses (/api/v1/accounts/:account_id/courses) then loop through each course to check if it has groups.
Alternatively (and perhaps more easily), you should be able to use the provisioning report, found in account reports, and by selecting all terms and checking the groups csv option, you'll get back a CSV file with a list of all groups for that account.
Hope this helps a bit! Let us know if you need more info on this topic.
-Chris
I moved your question to the Canvas Developers Group as that awesome group of users will be more likely to answer your question.
Hi @mweilan,
That particular API call would list account groups visible to the user associated with the API token used for the call. Since you mentioned your looking at course groups, you'd need to use /api/v1/courses/:course_id/groups to see if there are groups associated with a particular course. If you want to find which courses have groups, you'd need to so a bit of programming to first get a list of all of your courses (/api/v1/accounts/:account_id/courses) then loop through each course to check if it has groups.
Alternatively (and perhaps more easily), you should be able to use the provisioning report, found in account reports, and by selecting all terms and checking the groups csv option, you'll get back a CSV file with a list of all groups for that account.
Hope this helps a bit! Let us know if you need more info on this topic.
-Chris
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