Retrieve course student
Changed onRetrieves the details of an existing course student.
Required permissions:
- courses:read
- course_analytics:read
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The unique identifier of the course student record to retrieve.
Response
A successful response
An enrollment record for a student in a course, including progress and completion metrics.
The total number of lessons this student has marked as completed in the course.
The percentage of available lessons the student has completed, as a value from 0 to 100 rounded to two decimal places.
The course this student is enrolled in.
The timestamp when the student first interacted with this course, as a Unix timestamp.
The unique identifier for the course student type.
The timestamp when the student most recently interacted with this course, as a Unix timestamp.
The total number of visible lessons available to this student in the course.
The user profile of the enrolled student.
Example response
{
"completed_lessons_count": 42,
"completion_rate": 6.9,
"course": {
"experience": {
"id": "exp_xxxxxxxxxxxxxx"
},
"id": "cors_xxxxxxxxxxxxx",
"title": "Introduction to Ceramic Coating"
},
"first_interaction_at": "2023-12-01T05:00:00.401Z",
"last_interaction_at": "2023-12-01T05:00:00.401Z",
"total_lessons_count": 42,
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "Marcus Webb",
"profile_picture": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"username": "marcuswebb"
}
}Changes
- info
added the required property
user/profile_pictureto the response with the status
- info
- info
added the non-success response with the status
- info