Analytics
Get user course bundle progress for specific bundle
Get user course bundle progress. Use this to get their progress and completion data.
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
POST
/
public
/
get-user-course-bundle-progress
curl --request POST \
--url https://backend.codedamn.com/api/public/get-user-course-bundle-progress \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"bundleIdentifier": {
"type": "digital-product-id",
"digitalProductId": "<string>"
},
"userIdentifier": {
"type": "email",
"email": "jsmith@example.com"
}
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"courseBundleData": {
"title": "<string>",
"completionPercentageOutOf100": 123,
"enrolledAt": "2023-11-07T05:31:56Z",
"courses": [
{
"expectedCourseCompletionTimeInDays": 123,
"completionPercentageOutOf100": 123,
"fermionDigitalProductId": "<string>"
}
]
}
}
}
}
]
Authorizations
Body
application/json
API Request Body
The body is of type object
.
Response
200 - application/json
API Response Body
The response is of type object[]
.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-user-course-bundle-progress \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"bundleIdentifier": {
"type": "digital-product-id",
"digitalProductId": "<string>"
},
"userIdentifier": {
"type": "email",
"email": "jsmith@example.com"
}
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"courseBundleData": {
"title": "<string>",
"completionPercentageOutOf100": 123,
"enrolledAt": "2023-11-07T05:31:56Z",
"courses": [
{
"expectedCourseCompletionTimeInDays": 123,
"completionPercentageOutOf100": 123,
"fermionDigitalProductId": "<string>"
}
]
}
}
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.