I'm looking for how I can check whether a user is enrolled in a course or not using the API

Ka.M.925 Posts: 5 🔍
Hey, Im new here. I working on a small webapp that I want to connect with Brightspace LMS. The LMS has many courses and the webapp should present something different depending on which course the student is enrolled in. Now my idea was to put the link to the webapp on the course page and then when a student clicks on it, I would use the API to check which course the student is in from the request and based on that present the app. I was wondering if that's possible as I wasn't really able to find anything related to that in the API docs.