api/sendpulse.js
function smsAddPhonesToBlacklist(callback, phones, comment){
    if ((phones === undefined) || (!phones.length)) {
        return callback(returnError("Empty phones"));
    }
    var data = {
        'phones': JSON.stringify(phones),
        'description': comment
    }

    sendRequest('sms/black_list', 'POST', data, true, callback);
}
function smsAddPhonesToBlacklist(callback, phones, comment){
    if ((phones === undefined) || (!phones.length)) {
        return callback(returnError("Empty phones"));
    }
    var data = {
        'phones': JSON.stringify(phones),
        'description': comment
    }

    sendRequest('sms/black_list', 'POST', data, true, callback);
}
function smsAddPhonesToBlacklist ( callback , phones , comment ) { if ( ( phones === undefined ) || ( ! phones . length ) ) { return callback ( returnError ( "Empty phones" ) ) ; } var data = { 'phones' : JSON . stringify ( phones ) , 'description' : comment } sendRequest ( 'sms/black_list' , 'POST' , data , true , callback ) ; }
Add phones to blacklist

@param callback
@param phones
@param comment
Add phones to blacklist