Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/account.ts>Account#createPhoneVerification

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.createPhoneVerification
import { Account } from "https://deno.land/x/appwrite@6.0.0-RC1/src/services/account.ts";

Create Phone Verification

Use this endpoint to send a verification SMS to the currently logged in user. This endpoint is meant for use after updating a user's phone number using the accountUpdatePhone endpoint. Learn more about how to complete the verification process. The verification code sent to the user's phone number is valid for 15 minutes.

Returns

Promise<Models.Token>