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 keyvendorUserId
Please note that you need to pass
"profile": "student"
in this APIThe 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 UserIDAssign 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