Courses
List courses according to your session. The courses are limited to those available to the current user (based on the active session). This endpoint is almost just a proxy for Canvas Courses API except that certain filters can be applied on the list returned from Canvas. The courses are filtered to those that are not concluded and are available to content contributors, specifically, teachers, TAs, and designers.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/courses"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
An array of the courses the user is enrolled in
Bad Request
GET /api/courses HTTP/1.1
Host: lor.instructure.com
x-session-id: YOUR_API_KEY
Accept: */*
{
"items": [
{
"endAt": "2025-12-06T22:35:35.417Z",
"enrollmentRoles": [
"text"
],
"id": "text",
"name": "text",
"restrictEnrollmentsToCourseDates": true,
"rootAccountId": "text",
"term": {
"id": "text",
"name": "text",
"startDate": "2025-12-06T22:35:35.417Z",
"endDate": "2025-12-06T22:35:35.417Z"
}
}
],
"meta": {}
}Last updated
Was this helpful?