POST/user/createWithList

Create users from a list

Creates multiple user accounts from an array of user details. Send the user objects in the request body; each object can include fields such as username, email, and password. The schema does not require any fields within each 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; the schema does not specify required fields for each object.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

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

Error handling

The request body is an array of user objects, and the schema does not require any fields within those objects. Include the user details you want to create, such as username, email, or password.