Ditty
Ditty

Reputation: 529

how to send more than ten messages via Twilio

I currently have developed a REST API that Twilio posts when an incoming message comes to a short code. Sometimes the reply message can have more than 10 sms messages and it looks like Twilio has a limit for the reply message as I see error in the Notification logs mentioning that it cannot send more than 10 messages. So what is the best way to get through this error? Should I call the Twilio API for sending out the messages instead of using the Twilio Response? If so what should my HTTP response be? Little confused on what response should I be sending for the HTTP Response. Please advise.

Upvotes: 0

Views: 287

Answers (1)

E.J. Brennan
E.J. Brennan

Reputation: 46859

I would just send nothing as the response, but use the opportunity to send out the 10+ messages using the twilio api.

Alternatively, send the first messages as the response and that send the 9+ immediately after as a new conversation.

Upvotes: 1

Related Questions