Found this content helpful? Log in or sign up to leave a like!

All things API

Jump to solution
scottdennis
Instructure
Instructure

Have a question about the Canvas APIs? Have a cool API integration you'd be willing to share? If so, please post here.

Labels (1)
1 Solution

Hi @EdithMurillo,

I think you just need a couple tweaks to your url...

First, I'm pretty sure you need to use the account call for this.  Second, the parameter name is enrollment_term_id, not just term_id.  Third, you need to swap your = and : around.

So in the end, your call should look like:

https://xxx.test.instructure.com/api/v1/accounts/1/courses?enrollment_term_id=sis_term_id:xxx 

I hope this works for you!

-Chris

View solution in original post