List courses

Courses in Learning Content, with title and the number of people enrolled.

GET https://cotlet.dev/api/v1/ispring/courses

read

Returns the courses of Learning Content, newest change first, in pages; pass next_cursor back as cursor for the next page. enrolled is the number of enrollments in the course. Use course_id in list_enrollments and enroll_users.

Parameters

Parameters: list_courses
NameTypeDescription
query string string Part of the course title.
limit integer integer Courses per page.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/ispring/courses \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("ispring", "list_courses")
Node.js
const result = await cotlet.call('ispring', 'list_courses');
CLI
cotlet call ispring list_courses

Example response

JSON

{
  "courses": [
    {
      "course_id": "c_4f2a91",
      "title": "Information Security Basics",
      "enrolled": 38,
      "updated_at": "2026-10-12T10:20:00Z"
    },
    {
      "course_id": "c_4f2b07",
      "title": "Onboarding for New Hires",
      "enrolled": 24,
      "updated_at": "2026-10-05T08:02:00Z"
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.