POST/user/createWithList

Create users from a list

Creates multiple user accounts from an array of user objects. Provide the user details you want to create; the request body and all fields within each user object are optional in the schema.

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

8 body fields

An optional array of user objects to create.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns a user object containing its identifier, username, name, email, password, phone number, and status.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultUnexpected error

Error handling

The request body is optional. If you provide user objects, id and userStatus must be integers, and the other defined fields must be strings.