Skip to main content
Question

API: Enroll Users in Course(s)

  • September 14, 2026
  • 0 replies
  • 5 views

According to the API document post /learn/v1/enrollments, there is only one session id in payload. How to enroll user(s) in multiple ILT courses’ session?

{
"course_ids": [
0
],
"user_ids": [
0
],
"group_ids": [
0
],
"level": "3",
"date_begin_validity": "2026-09-14",
"date_expire_validity": "2026-09-14",
"session_id": 0,
"subscription_record": 0,
"notification_ids": [
0
],
"notification_uuids": [
"string"
],
"enrollment_fields": {},
"consider_ef_as_optional": true,
"branches": [
{
"branch_id": 0,
"selected_status": 0
}
],
"atomic_enrollment": true,
"assignment_type": "mandatory",
"enrolled_at": "2026-09-14"
}