Package to send SMS via MrNotify
npm install mrnotify-sdk --save
const mrnotifySMS = require("mrnotify-sdk");
const apiKey = "xxxxxxxxxxxxxxxxxxxxxxxx";
const requestData = {
msisdn: "947xxxxxxxx",
name: "xxxxxx xxxxxx",
groups: ["xxxxxx", "xxxxxx", "xxxxxx"],
message: "xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx",
};
mrnotifySMS.sendSMS(apiKey, requestData);