Headless LMS

List the student's enrolled courses

GET
/api/learn/courses

Response Body

application/json

curl -X GET "https://example.com/api/learn/courses"
[  {    "id": "string",    "title": "string",    "slug": "string",    "description": "string",    "status": "draft",    "category": "string",    "moduleCount": -9007199254740991,    "activityCount": -9007199254740991,    "enrolledCount": -9007199254740991,    "updatedAt": "string",    "createdAt": "string"  }]