Create a user
Creates a user in your WorkOS environment.
POST
Body
Arguments
stringrequired
The email address of the user.
string
The password to set for the user. Mutually exclusive with password_hash and password_hash_type.
string
The hashed password to set for the user. Mutually exclusive with password.
string
The algorithm originally used to hash the password, used when providing a password_hash.
string
The first name of the user.
string
The last name of the user.
boolean
Whether the user's email has been verified.
object
Object containing metadata key/value pairs associated with the user.
string
The external ID of the user.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.