How to send Message/Otp using MSG91 API's in NodeJs
index.js
exposessendOtp
method which takes in following arguments :- otp : One Time Password that you want to send
- phoneNumber: Phone Number to which you want to send the OTP to
authKey
, which you'll have to get after logging intohttps://msg91.com
templateId
which you'll get fromhttps://msg91.com
senderId
, similarly you'll have to get this fromhttps://msg91.com