Found this content helpful? Log in or sign up to leave a like!
Accounts API Courses endpoint not filtering on Account Id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025
09:15 AM
Hi - not sure if this forum deals with bug reports, if not please let me know where to file this (or, maybe it's not a bug?)
When I retrieve Courses from an Account, I would assume that the response would only contain Courses with the same Account Id, but I'm seeing requests to:
https://[my site].instructure.com/api/v1/accounts/[account-id-1234]/courses
Response:
...
{
"id": [course id],
"name": "[course name]",
"account_id": [account-id-6789],
...
},
Is this by design? Is it pulling the courses by the root_account_id?
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2025
10:11 AM
@nbpenn That call should return courses that belong to that account and any associated subaccounts. The call result should match the UI Courses page when you access an account. Hope that helps!
