Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send bulk SMS with twilio API [closed]

Tags:

twilio

I want to sending bulk SMS with Twilio is this possible with Twilio exists API. I have searching few hours with google, but can't find acceptable answers. So, I decide to asking at here. Thanks in advance.

like image 499
user2889036 Avatar asked Dec 03 '22 21:12

user2889036


2 Answers

SMS and MMS Quickstart Tutorial

This sample is using a dictionary to send messages to group of people, see at following sample code in above link.

// make an associative array of people we know, indexed by phone number
    var people = new Dictionary<string,string>() { 
        {"+14158675309","Curious George"},
        {"+14158675310","Boots"},
        {"+14158675311","Virgil"}
    };

More Over as You have mentioned BULK Messaging I would like you to have a look at their policy of Do's and Dont's also at this link

and look for section Sending mass marketing or bulk messaging using Twilio long code phone numbers

Have a look at

  • REST API: Short Codes
  • REST API: Messages
like image 144
DeltaCap019 Avatar answered Dec 28 '22 09:12

DeltaCap019


Yes and no, yes you can send 'batch' MMS by iterating thru a list of numbers you want to send to, but if you plan on sending a lot, you are going to want to lease a short-code (for about $1000/month) in order to qualify for the higher sending limits.

With a regular number you can send at most one message per second. With a shortcode, you can up that to 30 messages per second.

You might be able to get away with low-level 'bulk' sms on a regular twilio number, but don't be surprised if you get shut down if you are spamming or violating the terms of use (see Boosters post above for the link).

like image 27
E.J. Brennan Avatar answered Dec 28 '22 09:12

E.J. Brennan