My API
POST/user/createWithList

Create multiple users from a list

Creates multiple user accounts in a single request by accepting an array of user objects. Each user in the array is created with the provided details. Returns the created user object on success.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

8 body fields

Array of user objects to create.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns the created user object with all supplied fields.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultUnexpected error

Error handling

The request body must be an array of user objects. Each object's fields are optional, but username should be unique for each user within the system.