Send SMS with JavaScript var data = JSON.stringify({ "apikey":"your api key", "appname":"appname here", "senderId":"Your assigned sender ID. Leave empty if you dont have", "recipients":"254706010288,254701364040", "message":"Hello, i am using PRADYTECH SMS API" }); var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("POST", "http://bulk.pradytec.com/api/sms/send"); xhr.setRequestHeader("content-type", "application/json"); xhr.setRequestHeader("accept", "application/json"); Balance API | SMS Logs API | Payment API