How it works
This guide explains how the Number Verify API works and provides an overview of the number verification process. It covers the key concepts, components, and steps involved in using the Number Verify API to verify phone numbers.
info
The Number Verify authentication request needs to be initiated from the end-user's device in order to identify the device being verified.
Number Verification Sequence
The sequence diagram below provides a detailed breakdown of the interactions between the End User (Mobile Device), the Web Server, and Glide during the Number Verify process.
Step by Step
- End User Initiates Number Verification:
- The flow begins with the End User (Mobile Device) initiating a number verification request to the Web Server. This indicates that the user wants to verify a phone number.
- Web Server generates Auth URL:
- Upon receiving the verification request, the Web Server calls the
getAuthUrl
method on Glide SDK to retrieve the URL for the user to initiate the number verification session.
- Upon receiving the verification request, the Web Server calls the
- Web Server Redirects End User to Auth URL:
- The Web Server sends a redirect response to the End User with the Auth URL. The End User needs to follow this URL to initiate the number verification session.
- End User Follows Auth URL:
- The End User follows the Auth URL and is redirected to Glide's number verification page to start the verification process.
- Glide Returns Code to Web Server:
- After the user has initiated the session, Glide returns a code to the Web Server. This code is used to verify the number.
- Web Server Verifies Number with Glide:
- The Web Server calls the
verifyNumber
method on Glide with the code received from the user. This step checks the verification status of the phone number.
- The Web Server calls the
- Glide Returns Verification Result to Web Server:
- Finally, Glide processes the
verifyNumber
request and sends a response back to the Web Server, indicating whether the phone number has been verified successfully or not.
- Finally, Glide processes the
The Number Verify API simplifies the phone number verification process while providing enhanced security, making it an ideal solution for applications requiring strong user verification.