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
| Name | Type | Description |
|---|---|---|
| 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 https://cotlet.dev/api/v1/ispring/courses \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("ispring", "list_courses") const result = await cotlet.call('ispring', 'list_courses'); cotlet call ispring list_courses Example response
{
"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
}