Mobile Phone no. verification

Nitin Garg picture Nitin Garg · Nov 2, 2009 · Viewed 8k times · Source

I am designing a website.I want to validate the mobile no. entered by the user on the registration page, by sending a verification code to his mobile phone. Can anyone give me pointers to how should i proceed with it??

Answer

Xavier - Tech at Cognalys picture Xavier - Tech at Cognalys · Jan 28, 2015

i Proudly recommend cognalys

Because it provides an elegant API to verify international mobile numbers which can be integrated on any platform .

Step1 :

https://www.cognalys.com/api/v1/otp/?app_id=YOUR_OTP_APP_ID&access_token=YOUR_OTP_ACCESS_TOKEN&mobile=MOBILE

it will generate a missed call to the requested mobile number . And return a keymatch (to authenticate step 2 ) and otp_start ( the first five digits of the missed call number )

Step 2 :

https://www.cognalys.com/api/v1/otp/confirm/?app_id=YOUR_OTP_APP_ID&access_token=YOUR_OTP_ACCESS_TOKEN&keymatch=KEYMATCH&otp=OTP

Ask your user to enter the last five digit of the missed call number concatenate otp_start and last five digit for parameter otp and hit the API including keymatch

You are done ! . It uses a unique technique to verify mobile number