Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 458 Bytes

OTP Send and Verification.md

File metadata and controls

41 lines (31 loc) · 458 Bytes

OTP send and Verification

Send OTP /otp/send

Body

{
    "number": "+918910020967",
    "TTL" : 60 // time in seconds
}

Success Response :

{
	"statusCode" : 200,
	"otp" : "123456",
	"timeStamp" : 164752634
}

Verify OTP /otp/verify

Body

{
    "number": "+918910020967", // number of user
    "otp" : "106952" //The OTP you get from user
}

Success Response :

{
	"success" " true
}