Skip to main content
Module

x/supabase/mod.ts>GoTrueApi#sendMobileOTP

An isomorphic Javascript client for Supabase.
Go to Latest
method GoTrueApi.prototype.sendMobileOTP
Re-export
import { GoTrueApi } from "https://deno.land/x/supabase@1.3.1/mod.ts";

Sends a mobile OTP via SMS. Will register the account if it doesn't already exist

Parameters

phone: string

The user's phone number WITH international prefix

Returns

Promise<{ data: { } | null; error: ApiError | null; }>