Automatic SMS Verification with the SMS Retriever API  |  Credential Verification  |  Google for Developers (2024)

Stay organized with collections Save and categorize content based on your preferences.

With the SMS Retriever API, you can perform SMS-based user verification in yourAndroid app automatically, without requiring the user to manually typeverification codes, and without requiring any extra app permissions. When youimplement automatic SMS verification in your app, the verification flow lookslike this:

Automatic SMS Verification with the SMS Retriever API | Credential Verification | Google for Developers (1)

  1. A user initiates SMS verification in your app. Your app might prompt theuser to provide a phone number or use theSmart Lock for Passwords hint selectorif that information wasn't required to create the user's account.
  2. Your app makes a request to your server to verify the user's phone number.Depending on what information is available in your user database, thisrequest might include the user's ID, the user's phone number, or both.
  3. At the same time, your app calls the SMS Retriever API to begin listeningfor an SMS response from your server.
  4. Your server sends an SMS message to the user that includes a one-time codeto be sent back to your server, and a hash that identifies your app.
  5. When the user's device receives the SMS message, Google Play services usesthe app hash to determine that the message is intended for your app, andmakes the message text available to your app through the SMS Retriever API.
  6. Your app parses out the one-time code from the message text and sends itback to your server.
  7. Your server receives the one-time code from your app, verifies the code, andfinally records that the user has successfully verified their account.

To implement automatic SMS verification in your app, see the Android and serverguides:

Android GuideServer Guide

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-10-18 UTC.

Automatic SMS Verification with the SMS Retriever API  |  Credential Verification  |  Google for Developers (2024)
Top Articles
Starting Your Own Candle Making Business: A Blueprint for Success
Value-Added Tax (VAT): What it is and how to get it refunded if you shop while traveling
Umbc Baseball Camp
The UPS Store | Ship & Print Here > 400 West Broadway
Lenscrafters Westchester Mall
House Share: What we learned living with strangers
No Strings Attached 123Movies
Bestellung Ahrefs
Seattle Rpz
Magic Mike's Last Dance Showtimes Near Marcus Cedar Creek Cinema
New Stores Coming To Canton Ohio 2022
Leader Times Obituaries Liberal Ks
Richland Ecampus
Axe Throwing Milford Nh
Energy Healing Conference Utah
Craigslist Appomattox Va
Busted Campbell County
Munis Self Service Brockton
Defending The Broken Isles
Wonder Film Wiki
Lilpeachbutt69 Stephanie Chavez
Uky Linkblue Login
Ugly Daughter From Grown Ups
134 Paige St. Owego Ny
3 Bedroom 1 Bath House For Sale
Kattis-Solutions
Gr86 Forums
Beaver Saddle Ark
Go Upstate Mugshots Gaffney Sc
Gold Nugget at the Golden Nugget
Ferguson Employee Pipeline
Www.craigslist.com Waco
ESA Science & Technology - The remarkable Red Rectangle: A stairway to heaven? [heic0408]
Unblocked Games Gun Games
Arnesons Webcam
Panolian Batesville Ms Obituaries 2022
Ghareeb Nawaz Texas Menu
Darkglass Electronics The Exponent 500 Test
Random Animal Hybrid Generator Wheel
RubberDucks Front Office
Sherwin Source Intranet
Das schönste Comeback des Jahres: Warum die Vengaboys nie wieder gehen dürfen
Secrets Exposed: How to Test for Mold Exposure in Your Blood!
Hughie Francis Foley – Marinermath
The Quiet Girl Showtimes Near Landmark Plaza Frontenac
Laura Houston Wbap
Jimmy John's Near Me Open
Rubmaps H
Jigidi Jigsaw Puzzles Free
Rise Meadville Reviews
Lagrone Funeral Chapel & Crematory Obituaries
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6787

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.