POST/user/createWithList

Create multiple user accounts

Creates multiple user accounts from an array of user objects. The request body is optional; when supplied, each item can include user attributes such as username, email, and userStatus.

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

8 body fields

Optional array of user objects; each object's properties are optional.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns a user object containing user attributes such as the identifier, username, name, email, password, phone number, and status.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultReturned when an unexpected error occurs.

Error handling

The request body is optional and has no required fields. When supplied, it must be an array of user objects; id and userStatus must be integers, and the other listed attributes must be strings.