Step 4: Create Learners and Assign a Batch

  • Create students using API. For this, you can use /vendors/institutes/{{institute_id}}/users API (documentation here). You can use your internal userId for creating these users in the key vendorUserId

  • Please note that you need to pass "profile": "student" in this API

  • The above API shall return the UserID for the created user in the response key _id. You should save this UserID in your database against your internal UserID

  • Assign the respective batch to the student using the /institutes/{{institute_id}}/assignClassToStudent API (documentation here). For this, you would need the ClassID and the student’s UserID from the Wise setup.

Last updated