# SMS code prelogin Initiate SMS-based passwordless authentication by sending a one-time code (OTC) to the user's phone. This is the first step in the SMS OTC passwordless login flow. The system sends an SMS to the user associated with the provided email address. Request body must include: - email: The email address of the user initiating the login. - invitationToken (optional): Include if the user is signing up through an invitation. - recaptchaToken (optional): Required if reCAPTCHA is enabled for login. Use this endpoint to begin the passwordless login process using SMS verification. Endpoint: POST /resources/auth/v1/passwordless/smscode/prelogin Security: bearer ## Request fields (application/json): - `recaptchaToken` (string) - `invitationToken` (string) - `email` (string, required) - `userId` (string, required) - `username` (string, required) - `phoneNumber` (string, required) ## Response 201 fields (application/json): - `phoneNumber` (string) - `resetPhoneNumberToken` (string) ## Response 400 fields