curl -X GET "https://api.usegately.com/api/v1/lms/enrollments?student_id=user_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "enroll_123",
"course_id": "course_456",
"status": "active",
"progress_percentage": 45,
"enrolled_at": "2024-01-01T00:00:00Z",
"courses": {
"id": "course_456",
"title": "Introduction to JavaScript",
"thumbnail_url": "https://...",
"level": "beginner",
"duration_hours": 10
}
}
]
}
Get student enrollments
curl -X GET "https://api.usegately.com/api/v1/lms/enrollments?student_id=user_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "enroll_123",
"course_id": "course_456",
"status": "active",
"progress_percentage": 45,
"enrolled_at": "2024-01-01T00:00:00Z",
"courses": {
"id": "course_456",
"title": "Introduction to JavaScript",
"thumbnail_url": "https://...",
"level": "beginner",
"duration_hours": 10
}
}
]
}
curl -X GET "https://api.usegately.com/api/v1/lms/enrollments?student_id=user_123" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "enroll_123",
"course_id": "course_456",
"status": "active",
"progress_percentage": 45,
"enrolled_at": "2024-01-01T00:00:00Z",
"courses": {
"id": "course_456",
"title": "Introduction to JavaScript",
"thumbnail_url": "https://...",
"level": "beginner",
"duration_hours": 10
}
}
]
}
Was this page helpful?