Create New User and Enroll in Course via single API call

corypina
Community Member

Is it possible to create a new user AND enroll the new user in a course via a single API call?

Seeing no way to do so, we're planning to run two calls:

  • Create a new user with /api/v1/accounts/1/users, and receive the new user ID, then
  • Enroll that new user with /api/v1/courses/:courseID:/enrollments

Is there a way to accomplish this all at once that I'm missing?

Labels (1)
0 Likes