SendParameters
data class SendParameters(val organizationId: String, val memberId: String, val mfaPhoneNumber: String? = null, val locale: String? = null)
A data class wrapping the parameters needed to send an SMS OTP
Properties
Link copied to clipboard
The locale is used to determine which language to use in the email. Parameter is a []IETF BCP 47 language tag](https://www.w3.org/International/articles/language-tags/), e.g. "en". Currently supported languages are English ("en"), Spanish ("es"), and Brazilian Portuguese ("pt-br"); if no value is provided, the copy defaults to English.
Link copied to clipboard
The phone number to send the OTP to. If the member already has a phone number, this argument is not needed. If the member does not have a phone number and this argument is not provided, an error will be thrown.
Link copied to clipboard
The ID of the organization the member belongs to