CreateClerkUserInput
Defined in: users/users.ts:148
The fields accepted when creating a Clerk user.
Properties
Section titled “Properties”backup_codes?
Section titled “backup_codes?”
optionalbackup_codes?:string[]
Defined in: users/users.ts:176
Backup codes to set for the user.
created_at?
Section titled “created_at?”
optionalcreated_at?:string
Defined in: users/users.ts:184
The creation date to record for the user, as an ISO 8601 string.
email_address?
Section titled “email_address?”
optionalemail_address?:string[]
Defined in: users/users.ts:156
Email addresses to attach to the user.
external_id?
Section titled “external_id?”
optionalexternal_id?:string
Defined in: users/users.ts:150
The identifier the user has in your own system.
first_name?
Section titled “first_name?”
optionalfirst_name?:string
Defined in: users/users.ts:152
The user’s first name.
last_name?
Section titled “last_name?”
optionallast_name?:string
Defined in: users/users.ts:154
The user’s last name.
password?
Section titled “password?”
optionalpassword?:string
Defined in: users/users.ts:164
The user’s password in plain text.
password_digest?
Section titled “password_digest?”
optionalpassword_digest?:string
Defined in: users/users.ts:166
A password hash to import, used together with password_hasher.
password_hasher?
Section titled “password_hasher?”
optionalpassword_hasher?:string
Defined in: users/users.ts:168
The algorithm that produced password_digest.
phone_number?
Section titled “phone_number?”
optionalphone_number?:string[]
Defined in: users/users.ts:158
Phone numbers to attach to the user.
private_metadata?
Section titled “private_metadata?”
optionalprivate_metadata?:Record<string,unknown>
Defined in: users/users.ts:180
Metadata readable and writable only from the backend.
public_metadata?
Section titled “public_metadata?”
optionalpublic_metadata?:Record<string,unknown>
Defined in: users/users.ts:178
Metadata readable from the frontend and backend, writable only from the backend.
skip_password_checks?
Section titled “skip_password_checks?”
optionalskip_password_checks?:boolean
Defined in: users/users.ts:170
Whether to skip Clerk’s password strength checks.
skip_password_requirement?
Section titled “skip_password_requirement?”
optionalskip_password_requirement?:boolean
Defined in: users/users.ts:172
Whether to allow creating the user without a password.
totp_secret?
Section titled “totp_secret?”
optionaltotp_secret?:string
Defined in: users/users.ts:174
A TOTP secret to enroll the user in authenticator-app two-factor.
unsafe_metadata?
Section titled “unsafe_metadata?”
optionalunsafe_metadata?:Record<string,unknown>
Defined in: users/users.ts:182
Metadata that the frontend can also read and write.
username?
Section titled “username?”
optionalusername?:string
Defined in: users/users.ts:162
The user’s username.
web3_wallet?
Section titled “web3_wallet?”
optionalweb3_wallet?:string[]
Defined in: users/users.ts:160
Web3 wallets to attach to the user.