thepaliaDevelopers
Course Enrollments

Read enrollment progress

GET
/v1/course-enrollments/{enrollment_id}/progress

Read progress for an enrollment belonging to your partner account using its courseEnrollmentId. Counts and durations refer to sections and units in the current course. Dates describe the access period and completion state; completionDate and lastSectionCompletedAt may be null. This request does not change the enrollment.

Authorization

OAuth2
headerAuthorizationBearer <token>

Obtain a token at /v1/oauth/token, then send Authorization: Bearer <access_token>.

Path Parameters

enrollment_id*Enrollment Id

courseEnrollmentId returned when the enrollment was created.

Formatuuid

Response Body

Current progress and access period.

application/json
  1. response
accessibleFrom*Accessiblefrom

Start of the participant's course access period.

Formatdate-time
accessibleUntil*Accessibleuntil

End of the participant's course access period.

Formatdate-time
completedDurationInSeconds*Completeddurationinseconds

Sum of durations of completed sections, in seconds.

completedSectionsCount*Completedsectionscount

Number of completed sections in the current course.

completedUnitsCount*Completedunitscount

Number of fully completed course units.

completionDate*|

Course completion time, or null if the course is incomplete.

courseEnrollmentId*Courseenrollmentid

ID of the requested enrollment.

Formatuuid
lastSectionCompletedAt*|

Most recent section completion time, or null if none.

totalDurationInSeconds*Totaldurationinseconds

Sum of all section durations, in seconds.

totalSectionsCount*Totalsectionscount

Total number of sections in the current course.

totalUnitsCount*Totalunitscount

Total number of course units.

userId*Userid

ID of the participant enrolled in the course.

Formatuuid
Example Request
curl -X GET 'https://api.staging.thepalia.de/v1/course-enrollments/497f6eca-6276-4993-bfeb-53cbbbba6f08/progress'
Example Response
{  "accessibleFrom": "2026-01-01T00:00:00",  "accessibleUntil": "2027-01-01T00:00:00",  "completedDurationInSeconds": 900,  "completedSectionsCount": 3,  "completedUnitsCount": 1,  "courseEnrollmentId": "33333333-3333-4333-8333-333333333333",  "lastSectionCompletedAt": "2026-01-02T10:00:00",  "totalDurationInSeconds": 3600,  "totalSectionsCount": 12,  "totalUnitsCount": 4,  "userId": "22222222-2222-4222-8222-222222222222"}