Infobip
Simple Javascript Library for easy Infobip services integration: https://dev.infobip.com/ - Which includes SMS, VOICE and TEXT to SPEECH (TTS)
Installation
npm install infobip-node
How to use ?
const username = "xxxxxxx";const password = "xxxxxxxxx"; var infobip = username password; infobipsendersource = "message-from"; //use numbers only for voiceinfobipsenderdestinaton;//to send to a single telephone number//orinfobipsenderdestinaton = 'array-of-many-numbers'; // to send to many telephone numbers in bulk /** For SMS*/ infobipsendermessage = "message-content"; //text message content infobip; /**For VOICE*/ infobipsenderbulkId = "XOXO-898-YXXX"; //your unique generated bulk id for this voice messageinfobipsendertext = ""; //for text to speach (this is optional if @audioFileUrl is defined)infobipsenderaudioFileUrl = ""; //url of .mp3 recorded voice file to be sent (this is optional if @text is defined)infobipsendernotifyUrl = ""; //your callback url where you want to receive(POST) the result of the voice campain when it is processed infobip;