Using Twilio SMS API, can I specify multiple destination phones in one post?

后端 未结 3 464
我在风中等你
我在风中等你 2021-01-19 13:28

Twilio limits long code SMS to 1/sec. To improve my throughput, I split my batch into 5 phone numbers. I\'ve found each HTTP POST to the Twilio API takes about 0.5 seconds.

3条回答
  •  旧时难觅i
    2021-01-19 14:05

    If you are using the trial account, even looping with a 5s timeout between each item in the array did not work for me. And that was for just two numbers. Once I upgraded the account the code worked immediately without needing a timeout.

    You know it's the trial account if the SMS you receive (when sending to only one number) says "Sent from your Twilio trial account - ".

提交回复
热议问题