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!
We are working on an LTI implementation where the context_id is used to route students to the correct course. Is there a way to view the context_id from the Canvas course page?
Can you explain the workflow? Where is the tool being launched from and what do you mean by routing the students to the correct course?
Certainly. We are a tool provider. Students complete lessons and assignment on our platform. Students access our platform via LTI single sign on by clicking our LTI links from their school's Canvas instance. We have multiple "cohorts" of each course that we offer and the proper cohort must be loaded when a student clicks the link.
If there is a way we can know the context_id for our LTI links, we can assign each of our "cohorts" that context_id and use it to load the proper "cohort" when a student clicks the LTI link.
Thus the question - is there a way to see the context_id for each LTI link?
Hi Nathan - Were you able to find a way to see the context_id for each LTI link?
I used Google Developer Tools (Network trace) to call the LTI integration and saw the context_id in the forms section after looking at the LTI redirect. I then used /api/v1/courses/lti_context_id:$context_id to get the Canvas ID from there..
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