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!
Hello. I am trying to pull a list of courses for a institution that I am working for. I have used both the /doc/api/live website and the Postman tool for making the web API calls. No matter which tool I use to make the call, I keep getting the same short list of 5 courses. I know for fact that the school has over a thousand courses active for this term.
Using the /docs/api/live website, I have put in a token value which works for all other calls.
The generated URL value is: https://<name:.instructure.com:443/api/v1/courses
In Postman I am using the same URL with an Authorization Token of Bearer with the token value included.
I have also tried putting the token value directly into the URL with the access_token parameter.
I also have included the &Page= and &Per_Page parameters with the page # value of varying values between 1 and 10 and the Per_Page parameter with varying values between 3 and 20.
In all cases of calls (api/live and Postman) I consistently receive the same list of 5 courses.
Does anyone have any idea of what I am doing wrong?
Thank you.
Solved! Go to Solution.
The API call you're using is List your courses from the Courses API.
GET /api/v1/courses
Returns the paginated list of active courses for the current user.
If you want a list of all of the active courses, then use the List active courses in an account from the Accounts API instead.
GET /api/v1/accounts/:account_id/courses
Retrieve a paginated list of courses in this account.
Also, I'm not sure if it matters, but page and per_page are usually lowercase. per_page can often go up to 100.
Hello, @huppy999 Welcome to the Canvas Community! I don't have an immediate answer for you, but wanted to let you know that I've moved your post into the Canvas Developers group where it will attract the attention of your fellow experts. Chances are you're not yet a member of this group; while you don't need to join the group to see the responses as they appear, you'll probably want to in order to post follow-up questions and comments. To join the group, click on the link to the group and select Join Group from the Actions dropdown at the upper right of the group home page.
The API call you're using is List your courses from the Courses API.
GET /api/v1/courses
Returns the paginated list of active courses for the current user.
If you want a list of all of the active courses, then use the List active courses in an account from the Accounts API instead.
GET /api/v1/accounts/:account_id/courses
Retrieve a paginated list of courses in this account.
Also, I'm not sure if it matters, but page and per_page are usually lowercase. per_page can often go up to 100.
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