POST/user/createWithList

Create multiple user accounts

Creates multiple user accounts from an array of user objects. Send the array in the optional JSON request body, including the account details you want to create. The response contains a user object.

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

8 body fields

An array of user objects to create.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns a user object with account and profile fields.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultUnexpected error

Error handling

Each array item is a user object; include values such as username, email, and password as needed. The schema marks no fields within the user objects as required.