sendCode

Sends a verification code to the specified email or phone.

Return

A ClerkResult containing the updated SignUp object on success, or a ClerkErrorResponse on failure.

Example usage:

signUp.sendCode { email = "newuser@email.com" }
// or
signUp.sendCode { phone = "+1234567890" }

Parameters

block

Builder block to configure where to send the code.