The documentation for the MSG91 API can be found here
The Node library v1.0 documentation can be found here.
You can get your content template approved by desginated TRAI authorities. We have made a comprehensive document here
The documentation for the MSG91 API can be found here
The Node library v1.0 documentation can be found here.
var msg91 = require("@walkover/msg91")("API_KEY", "SENDER_ID", "ROUTE_NO" );
/**
* Mobile number should be with International dialling code. Ex - 91 for India, 44 for UK.
*
* @param {mobileNo} Accepts single number
* @param {mobileNo} Accepts array of the phone number.
* @param {mobileNo} Accepts CSV string.
*/
var mobileNo = "XXXXXXXXXX";
var mobileNo = [ "XXXXXXXXXX", "XXXXXXXXXX", "XXXXXXXXXX" ];
var mobileNo = "XXXXXXXXXX,XXXXXXXXXX,XXXXXXXXXX";
msg91.send(mobileNo, "MESSAGE", "DLT_TE_ID", function(err, response){
console.log(err);
console.log(response);
});
// Default
msg91.getBalance(function(err, msgCount){
console.log(err);
console.log(msgCount);
});
// Get Balance for given Route.
msg91.getBalance("ROUTE_NO", function(err, msgCount){
console.log(err);
console.log(msgCount);
});
Please reach out to us on [email protected]
1 - Promotional Route
4 - Transactional Route
106 - SendOTP Route