Add Users for Bulk Import
array
required
Array of user objects to import (max 10,000 users)
string
External user identifier from source system
object
Custom user metadata as key-value pairs
array
Array of role names to assign to the user
array
Array of TOTP device configurations
array
required
Array of login method objects (at least one required)
string
required
Recipe ID: “emailpassword”, “thirdparty”, or “passwordless”
string
Email address for the login method
string
Hashed password (for emailpassword recipe)
string
Hashing algorithm used: “bcrypt”, “argon2”, etc.
boolean
Whether this is the primary login method
boolean
Whether the email/phone is verified
number
Original join timestamp in milliseconds
array
Array of tenant IDs this login method belongs to
string
“OK”
array
Array of objects containing the generated bulk import ID and status for each user
string
Generated bulk import user ID
string
Initial status: “NEW”
Import User Immediately
object
Same user object structure as batch import (see above)
string
“OK” on success
object
Imported user object with all login methods and metadata
array
Array of error messages if import failed