Api reference
Get a product
Authorization
ApiKeyAuth x-api-key<token>
API key created in CourseLit dashboard settings. The legacy apikey request-body field is still accepted but deprecated.
In: header
Path Parameters
productId*string
Response Body
application/json
application/json
curl -X GET "https://school.courselit.app/api/products/string"{
"productId": "string",
"type": "course",
"title": "string",
"slug": "string",
"description": "string",
"published": true,
"privacy": "string",
"tags": [
"string"
],
"featuredImage": {},
"pageId": "string",
"defaultPaymentPlan": "string",
"paymentPlans": [
{
"planId": "string",
"name": "string",
"type": "free",
"entityId": "string",
"entityType": "string",
"oneTimeAmount": 0,
"emiAmount": 0,
"emiTotalInstallments": 0,
"subscriptionMonthlyAmount": 0,
"subscriptionYearlyAmount": 0,
"description": "string",
"isDefault": true
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"error": {
"code": "string",
"message": "string"
}
}Evaluate a quiz lesson for a product customer POST
Evaluates quiz answers for the target product customer using existing CourseLit learner runtime behavior. This records the evaluation result but does not mark the lesson complete.
Get product customer progress GET
Returns customer progress details including completed lessons.