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"
Authorizations
Responses
200
An array of the courses the user is enrolled in
application/json
4XX
Bad Request
application/json
get
GET /api/courses HTTP/1.1
Host: lor.instructure.com
x-session-id: YOUR_API_KEY
Accept: */*
{
"items": [
{
"endAt": "2025-07-01T00:25:30.718Z",
"enrollmentRoles": [
"text"
],
"id": "text",
"name": "text",
"restrictEnrollmentsToCourseDates": true,
"rootAccountId": "text",
"term": {
"id": "text",
"name": "text",
"startDate": "2025-07-01T00:25:30.718Z",
"endDate": "2025-07-01T00:25:30.718Z"
}
}
],
"meta": {}
}
Last updated
Was this helpful?