melodyc_lam
Community Coach
Community Coach

@DavidGeismar2 Welcome, and welcome to using the API!

You'll want to use the following API endpoint to GET the courses from a specific account/subaccount:

<your canvas URL>/api/v1/accounts/<account ID>/courses

Your root account ID I believe is 1 (one) but as a pro-tip if you ever need to get a subset of courses that live in a specific subaccount, you can use the subaccount ID to access a list of just those courses. This helps in larger Canvas instances.

Hope this helps!

Edit: Found the name of the call you're making (I've been using the API for so long that I don't really look at the docs anymore) -- it's called List active courses in an account 

View solution in original post

Who Me Too'd this solution