Send and Verify OTP using Twilio
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 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"
}