jQuery.ajax({
'url':'link_to_api',
'data':'string_or_object',
...
});
var settings = {
"async": true,
"crossDomain": true,
"url": "https://smsc.ru/sys/send.php?login=login&psw=pass&phones=phones&mes=message",
"method": "GET",
"headers": {
"cache-control": "no-cache",
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});