Docs home

Student Enroll Batches

Lists the batches the logged-in learner is enrolled in, most recently opened first, with progress for each. Use it for a learner's dashboard of "my courses".

GET/student/masterbatches/latest
Student Enroll Batches
curl --request GET \
  --url 'https://<your-api-host>/nuSource/api/v1/student/masterbatches/latest' \
  --header 'APIKEY: <your-api-key>' \
  --header 'ORGID: <your-org-id>'
{
  "code": 200,
  "message": "Success",
  "batches": [
    {
      "tutor_id": 3846680,
      "tutor_name": "Edmingle Admin",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/3923130-127021-images.png",
      "tutor_username": "demoadmin",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 212,
      "master_batch_id": 64025,
      "master_batch_name": "2026 Welcome to India Course",
      "actual_master_batch_name": "sample",
      "class_ids": "182884",
      "free_preview_allowed": 0,
      "bundle_image_id": null,
      "file_name": null,
      "file_path": null,
      "institution_bundle_id": 44840,
      "pretty_name": "sample",
      "allow_student_unenrolling": 0,
      "allow_curriculum_access_after_completed": 0,
      "mb_status": 0,
      "enrollment_expiration_date": 0,
      "bundle_id": 24162,
      "apple_product_id": "212_24162",
      "is_ai_embedding_allowed": 0,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 4,
        "course_num_materials": 27,
        "user_uattempts": 0,
        "user_mat_uviews": 1,
        "user_passed": 0,
        "batch_progress": 3
      },
      "attendance": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/User(53044146)/CourseBundles(24162)/3684846-124855-Gspace.png",
      "tags": [
        {
          "id": 425,
          "label": "JEEV Duration",
          "type": 4,
          "value": [
            "<p>adkshbksajd</p>\n"
          ]
        }
      ]
    },
    {
      "tutor_id": 3846680,
      "tutor_name": "Edmingle Admin",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/3923130-127021-images.png",
      "tutor_username": "demoadmin",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 212,
      "master_batch_id": 37434,
      "master_batch_name": "Paid course test data single installment",
      "actual_master_batch_name": "Paid testing One Two",
      "class_ids": "121333,121334,121335",
      "free_preview_allowed": 0,
      "bundle_image_id": null,
      "file_name": null,
      "file_path": null,
      "institution_bundle_id": 28658,
      "pretty_name": "Paidcoursetestdatasingleinstallment",
      "allow_student_unenrolling": 0,
      "allow_curriculum_access_after_completed": 0,
      "mb_status": 0,
      "enrollment_expiration_date": 0,
      "bundle_id": 12511,
      "apple_product_id": "212_12511",
      "is_ai_embedding_allowed": 0,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 110,
        "course_num_materials": 183,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(12511)/2205450-Krishna.jpg",
      "tags": [
        {
          "id": 56,
          "label": "Native Language",
          "type": 4,
          "value": [
            "<p>12345;23121;1212</p>\n"
          ]
        }
      ]
    },
    {
      "tutor_id": 3846680,
      "tutor_name": "Edmingle Admin",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/3923130-127021-images.png",
      "tutor_username": "demoadmin",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 241,
      "master_batch_id": 4442,
      "master_batch_name": "Physics",
      "actual_master_batch_name": "Testing",
      "class_ids": "10236,395798,395799,395803,396803,397027,421041,421046,421051",
      "free_preview_allowed": 1,
      "bundle_image_id": null,
      "file_name": null,
      "file_path": null,
      "institution_bundle_id": 2182,
      "pretty_name": "Testing",
      "allow_student_unenrolling": 1,
      "allow_curriculum_access_after_completed": 1,
      "mb_status": 0,
      "enrollment_expiration_date": 0,
      "bundle_id": 1951,
      "apple_product_id": "241_1951",
      "is_ai_embedding_allowed": 0,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 115,
        "course_num_materials": 201,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(1951)/4237523-Screenshot_2025-07-09_at_12.21.58%E2%80%AFPM.png",
      "tags": [
        {
          "id": 42,
          "label": "Date of Birth",
          "type": 3,
          "value": [
            "20 May 2025"
          ]
        },
        {
          "id": 59,
          "label": "Region",
          "type": 1,
          "value": [
            "South"
          ]
        },
        {
          "id": 438,
          "label": "Test 1",
          "type": 2,
          "value": [
            "false"
          ]
        }
      ]
    },
    {
      "tutor_id": 4028648,
      "tutor_name": "Vipin Sir",
      "tutor_img_url": "",
      "tutor_username": "vikashsir",
      "mb_start_date": 1714348800,
      "mb_end_date": 1714521600,
      "organization_id": 212,
      "master_batch_id": 108623,
      "master_batch_name": "Commerce",
      "actual_master_batch_name": "saddasd",
      "class_ids": "284336,284337,284338",
      "free_preview_allowed": 0,
      "bundle_image_id": null,
      "file_name": null,
      "file_path": null,
      "institution_bundle_id": 1516,
      "pretty_name": "Commerceacademy",
      "allow_student_unenrolling": 1,
      "allow_curriculum_access_after_completed": 1,
      "mb_status": 0,
      "enrollment_expiration_date": 0,
      "bundle_id": 1370,
      "apple_product_id": "212_1370",
      "is_ai_embedding_allowed": 0,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 9,
        "course_num_materials": 33,
        "user_uattempts": 0,
        "user_mat_uviews": 5,
        "user_passed": 0,
        "batch_progress": 11
      },
      "attendance": 0,
      "bundle_image_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/CourseBundles(1370)/1890676-clay-banks-E2HgkL3LaFE-unsplash.jpg",
      "tags": [
        {
          "id": 88,
          "label": "ranksdasd",
          "type": 4,
          "value": [
            "<p>CERTIFIED CALISTHENICS TRAINER</p>\n"
          ]
        },
        {
          "id": 205,
          "label": "cpd_hourssdasd",
          "type": 4,
          "value": [
            "<p>480</p>\n"
          ]
        },
        {
          "id": 212,
          "label": "credits_issuedddd",
          "type": 4,
          "value": [
            "<p>16</p>\n"
          ]
        },
        {
          "id": 213,
          "label": "ceu_issuedddd",
          "type": 4,
          "value": [
            "<p>5</p>\n"
          ]
        },
        {
          "id": 214,
          "label": "new_yearrrr",
          "type": 4,
          "value": [
            "<p>2023</p>\n"
          ]
        },
        {
          "id": 215,
          "label": "cpd_hours",
          "type": 1,
          "value": [
            "480"
          ]
        },
        {
          "id": 216,
          "label": "new_year",
          "type": 1,
          "value": [
            "2023"
          ]
        },
        {
          "id": 217,
          "label": "ceu_issued",
          "type": 1,
          "value": [
            "5"
          ]
        },
        {
          "id": 218,
          "label": "rank",
          "type": 1,
          "value": [
            "CERTIFIED CALISTHENICS TRAINER"
          ]
        },
        {
          "id": 219,
          "label": "credits_issued",
          "type": 1,
          "value": [
            "16"
          ]
        }
      ]
    },
    {
      "tutor_id": 3846680,
      "tutor_name": "Edmingle Admin",
      "tutor_img_url": "https://dme2wmiz2suov.cloudfront.net/User(3846680)/3923130-127021-images.png",
      "tutor_username": "demoadmin",
      "mb_start_date": 0,
      "mb_end_date": 0,
      "organization_id": 212,
      "master_batch_id": 169657,
      "master_batch_name": "Gen AI Course",
      "actual_master_batch_name": "Gen AI Course",
      "class_ids": "399337",
      "free_preview_allowed": 0,
      "bundle_image_id": null,
      "file_name": null,
      "file_path": null,
      "institution_bundle_id": 92821,
      "pretty_name": "GenAICourse",
      "allow_student_unenrolling": 0,
      "allow_curriculum_access_after_completed": 0,
      "mb_status": 0,
      "enrollment_expiration_date": 1803340800,
      "bundle_id": 62567,
      "apple_product_id": "212_62567",
      "is_ai_embedding_allowed": 0,
      "stats": {
        "avg_grade": 0,
        "course_num_exercises": 0,
        "course_num_materials": 0,
        "user_uattempts": 0,
        "user_mat_uviews": 0,
        "user_passed": 0,
        "batch_progress": 0
      },
      "attendance": 0,
      "bundle_image_url": "",
      "tags": []
    }
  ],
  "masterbatch_pending": [],
  "masterbatch_payment_ids": [],
  "free_preview_masterbatch": [],
  "free_preview_masterbatch_payment": [],
  "free_preview_institution_bundle_id": []
}

Access: Learners (their own batches).

Query parameters
0 current batches (default), 3 batches the learner has completed.
1 returns both current and completed batches.
bundle_idinteger
Only batches of this course.
Comma-separated category IDs. Only batches of courses in these categories.
tag_idsstring
Comma-separated tag IDs, used to filter the tags returned for each batch.
Response200application/json
codeinteger
Example: 200
messagestring
Example: Success
batchesobject[]
Show child attributesHide child attributes
Example: 3846680
Example: Edmingle Admin
Example: demoadmin
Example: 0
Unix timestamps, 0 if not set
Example: 0
Example: 212
Example: 64025
The course name
Example: 2026 Welcome to India Course
The batch name
Example: sample
Comma-separated class IDs
Example: 182884
Example: 44840
Example: sample
0 active, 3 completed
Example: 0
Example: 24162
Example: 212_24162
batch_progress percent, avg_grade, course_num_exercises, course_num_materials, user_mat_uviews, user_uattempts, user_passed
Show child attributesHide child attributes
Example: 0
Example: 0
Example: 0
batches.tagsobject[]
Show child attributesHide child attributes
Example: 425
Example: JEEV Duration
Example: 4
Batches awaiting payment or in free preview

Notes: Batches are scoped to the institute of the host name you call. Cancelled enrolments and archived learners are left out. Batches the learner opened recently come first, then the rest; the list is cut at 100 batches. In mobile apps, Woolf-accredited courses are hidden. Rate limit: 30 requests per 1 minute; going over locks you out for 30 minutes.

Updated yesterday

Ask AI