@@ -43,8 +43,11 @@ public interface Sms {
4343 * their phone number. In that case, this endpoint should only be used for subsequent authentication events, such as
4444 * prompting a Member for an OTP again after a period of inactivity.
4545 *
46- * Passing an intermediate session token, session token, or session JWT is not required, but if passed must match the
47- * Member ID passed.
46+ * If the Member already has an active MFA factor, then passing an intermediate session token, session token, or session
47+ * JWT with the existing MFA factor on it is required to prevent bypassing MFA.
48+ *
49+ * Otherwise, passing an intermediate session token, session token, or session JWT is not required, but if passed must
50+ * match the `member_id` passed.
4851 *
4952 * ### Cost to send SMS OTP
5053 * Before configuring SMS or WhatsApp OTPs, please review how Stytch
@@ -56,8 +59,9 @@ public interface Sms {
5659 *
5760 * __Note:__ SMS to phone numbers outside of the US and Canada is disabled by default for customers who did not use SMS
5861 * prior to October 2023. If you're interested in sending international SMS, please add those countries to your Project's
59- * allowlist via [the API](https://stytch.com/docs/workspace-management/pwa/country-code-allowlist-object), and
60- * [add credit card details](https://stytch.com/docs/dashboard/settings/billing) to your account.
62+ * allowlist via the [Dashboard](https://stytch.com/dashboard/country-code-allowlists) or
63+ * [Programmatic Workspace Actions](https://stytch.com/docs/workspace-management/pwa/set-allowed-country-codes), and
64+ * [add credit card details](https://stytch.com/dashboard/settings/billing) to your account.
6165 */
6266 public suspend fun send (data : SendRequest ): StytchResult <SendResponse >
6367
@@ -81,8 +85,11 @@ public interface Sms {
8185 * their phone number. In that case, this endpoint should only be used for subsequent authentication events, such as
8286 * prompting a Member for an OTP again after a period of inactivity.
8387 *
84- * Passing an intermediate session token, session token, or session JWT is not required, but if passed must match the
85- * Member ID passed.
88+ * If the Member already has an active MFA factor, then passing an intermediate session token, session token, or session
89+ * JWT with the existing MFA factor on it is required to prevent bypassing MFA.
90+ *
91+ * Otherwise, passing an intermediate session token, session token, or session JWT is not required, but if passed must
92+ * match the `member_id` passed.
8693 *
8794 * ### Cost to send SMS OTP
8895 * Before configuring SMS or WhatsApp OTPs, please review how Stytch
@@ -94,8 +101,9 @@ public interface Sms {
94101 *
95102 * __Note:__ SMS to phone numbers outside of the US and Canada is disabled by default for customers who did not use SMS
96103 * prior to October 2023. If you're interested in sending international SMS, please add those countries to your Project's
97- * allowlist via [the API](https://stytch.com/docs/workspace-management/pwa/country-code-allowlist-object), and
98- * [add credit card details](https://stytch.com/docs/dashboard/settings/billing) to your account.
104+ * allowlist via the [Dashboard](https://stytch.com/dashboard/country-code-allowlists) or
105+ * [Programmatic Workspace Actions](https://stytch.com/docs/workspace-management/pwa/set-allowed-country-codes), and
106+ * [add credit card details](https://stytch.com/dashboard/settings/billing) to your account.
99107 */
100108 public fun send (
101109 data : SendRequest ,
@@ -122,8 +130,11 @@ public interface Sms {
122130 * their phone number. In that case, this endpoint should only be used for subsequent authentication events, such as
123131 * prompting a Member for an OTP again after a period of inactivity.
124132 *
125- * Passing an intermediate session token, session token, or session JWT is not required, but if passed must match the
126- * Member ID passed.
133+ * If the Member already has an active MFA factor, then passing an intermediate session token, session token, or session
134+ * JWT with the existing MFA factor on it is required to prevent bypassing MFA.
135+ *
136+ * Otherwise, passing an intermediate session token, session token, or session JWT is not required, but if passed must
137+ * match the `member_id` passed.
127138 *
128139 * ### Cost to send SMS OTP
129140 * Before configuring SMS or WhatsApp OTPs, please review how Stytch
@@ -135,8 +146,9 @@ public interface Sms {
135146 *
136147 * __Note:__ SMS to phone numbers outside of the US and Canada is disabled by default for customers who did not use SMS
137148 * prior to October 2023. If you're interested in sending international SMS, please add those countries to your Project's
138- * allowlist via [the API](https://stytch.com/docs/workspace-management/pwa/country-code-allowlist-object), and
139- * [add credit card details](https://stytch.com/docs/dashboard/settings/billing) to your account.
149+ * allowlist via the [Dashboard](https://stytch.com/dashboard/country-code-allowlists) or
150+ * [Programmatic Workspace Actions](https://stytch.com/docs/workspace-management/pwa/set-allowed-country-codes), and
151+ * [add credit card details](https://stytch.com/dashboard/settings/billing) to your account.
140152 */
141153 public fun sendCompletable (data : SendRequest ): CompletableFuture <StytchResult <SendResponse >>
142154
0 commit comments