How to GET Canvas_Course_ID using API, knowing Course_SYS_ID

Jump to solution
AlonaLanski
Community Member

Hi, I have trouble to get Canvas_Course_ID with API. I know I can get the Course data by using API /api/v1/courses/:id with ":id" been the Canvass_Course_Id  (below in bold). But I would like to use SYS_ID to actually get Canvas_Course_ID.

Is it even possible?

Thank you. Alona

GET https://sandiego.instructure.com/api/v1/courses/14019

Labels (1)
0 Likes
2 Solutions
chriscas
Community Coach
Community Coach

Hi @AlonaLanski,

if you take a look at the sis_ids api documentation, you'll see you should be able to visit /api/v1/courses/sis_course_id:ABCDEFG (replace ABCDEFG with your own sis_id).  The API response will include the canvas_id of the course you specified.

Hope this helps!

-Chris

View solution in original post

0 Likes
0 Likes