Creates a new user with the provided identifiers and authentication methods. All identifiers start as unverified - user must complete verification flow. This endpoint requires authentication.
JWT token for user authentication
Schema for creating a new user
Array of user identifiers (email/phone)
1Authentication methods for the user
PASSWORD, GOOGLE, CLIENT_PLATFORM ["PASSWORD"]User's first name
"John"
User's last name
"Doe"
Array of role names
["admin", "user"]Additional user metadata
User created successfully
User ID
"user123"
User identifiers (email/phone)
Available authentication methods
password, google, client_platform ["password"]User creation timestamp
"2024-01-01T00:00:00.000Z"
User last update timestamp
"2024-01-01T00:00:00.000Z"
User roles
User first name
"John"
User last name
"Doe"
User suspension timestamp
"2024-01-01T00:00:00.000Z"
Additional user metadata