Headless LMS

Get a course by id

GET
/api/courses/{id}

Path Parameters

id*string

Response Body

application/json

application/json

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