Send a one-time passcode
- Requires a
service_role
key. - This function should only be called on a server. Never expose your
service_role
key in the browser.
const { data: user, error } = await supabase.auth
.api
.sendMobileOTP('12345879')
service_role
key.service_role
key in the browser.
const { data: user, error } = await supabase.auth
.api
.sendMobileOTP('12345879')
Need some help?
Contact supportLastest product updates?
See ChangelogSomething's not right?
Check system status