Skip to content

ArchBlizzard/OTP-Verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTP-Verification

Send and Verify OTP using Twilio

API Documentation

Send OTP

Send a POST request to send an OTP to a user's phone number

{"phoneNumber": "+918902699501"}

Response

{
  "status": 010,
  "message": "success",
  "data": "OTP sent successfully"
}

Verify OTP

Verify OTP by sending a POST request that contains the phone number and the OTP code received by the user

{"user": {"phoneNumber": "+918902699501"}, "code":"625481"}

Response

{
  "status": 010,
  "message": "success",
  "data": "OTP verified successfully"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages