cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
corypina
Community Member

Create New User and Enroll in Course via single API call

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?

0 Kudos
0 Replies