AVAILABLE WITH BUSINESS SUBSCRIPTION

This method is supported through March 31, 2027. We recommend switching to the new method, Getting a Tree of Courses and Folders in the Account.

Request: GET /courses_tree

Request Headers

HeaderDescription
Authorization (required)Access token. You can obtain a token by making a request.
Accept: application/json (required)Format of the response data: JSON
contentItemIds (optional)The IDs of the content items you want to retrieve.

Response Parameters 

ParameterDescription
contentItemIdThe ID of the folder or course
parentIdThe ID of the parent folder
titleThe name of the folder or course
typeThe type of content
addedDateThe date the folder or course was created.
viewUrlThe link for viewing
isShared

Indicates whether the content item is from the Course Library.

Possible values:

  • false — The content item is not from the Course Library.
  • true — The content item is from the Course Library.
Existing customers may continue using ispringlearn.com, and new customers should use ispring.com.

Response Codes

200    

OK

The request was successfully processed.
403    ForbiddenThe user does not have sufficient permissions to perform the request.
401    UnauthorizedInvalid authentication credentials.

Sample Request

GET /courses_tree?contentItemIds=7edee717-8e56-6617-4b5f-3c64ae76ed34 HTTP/1.1
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
Accept: application/json
CODE

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json

[
  {
    "contentItemId": "92fe174d-afea-11f0-9cfd-368fa1b5239d",
    "title": "Courses for sales",
    "type": "Folder",
    "parentId": "0",
    "isShared": false
  },
  {
    "contentItemId": "a3396932-afea-11f0-bca0-b66da7d73f76",
    "title": "Merchandising",
    "type": "Presentation",
    "addedDate": "2025-10-24T07:28:34+00:00",
    "viewUrl": "https://myaccount.ispringlearn.com/view/10321311-BKhge-JqfdH-MtD3g",
    "parentId": "92fe174d-afea-11f0-9cfd-368fa1b5239d",
    "isShared": false
  }
]
CODE