Create user
Creates a new user. E-mail authentication is always enabled, and no password is set, meaning the only way to authenticate the newly created user is through magic link.
Request
Human-readable user display name. This is not a unique identifier.
Client read-only, server-writable metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client. The client can read this data, but cannot modify it. This is useful for things like subscription status.
Whether the primary email is used for authentication. If this is set to false
, the user will not be able to sign in with the primary email with password or OTP
If password
is not given, sets the user’s password hash to the given string in Modular Crypt Format (ex.: $2a$10$VIhIOofSMqGdGlL4wzE//e.77dAQGqNtF/1dT7bqCrVtQuInWy2qi
). Doing so revokes all current sessions.
Response
Whether the primary email is used for authentication. If this is set to false
, the user will not be able to sign in with the primary email with password or OTP
The time the user signed up (identify) => (the number of milliseconds since epoch, January 1, 1970, UTC)
The time the user was last active (identify) => (the number of milliseconds since epoch, January 1, 1970, UTC)
Human-readable user display name. This is not a unique identifier.
Client read-only, server-writable metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client. The client can read this data, but cannot modify it. This is useful for things like subscription status.