0

It seems not reasonable using Twilio's lookup API for each message when I try to send out a bulk. It'll be too expensive and time consuming? So I'm wondering if there's a way or a technique I can integrate Twilio's Lookup API with my bulk.

LeonMher
  • 25
  • 3
  • What are you trying to solve for here? – Alan Sep 09 '22 at 13:01
  • I have an app that is capable of sending multiple sms at once and I'm trying to apply look up API once for each bulk SMS, not for each SMS. It's not only money consuming but also time consuming operation – LeonMher Sep 15 '22 at 06:06

1 Answers1

1

The Lookup API is not a bulk API. For each number you wish to lookup, you will need to make an individual request.

I would recommend that you don't look things up at the time of sending a bulk lot of messages, but that when you enter a user's phone number into your system you perform the lookup at that point and store the results alongside the number. That way you only need to perform the lookup once and it is done outside of your messaging API requests.

philnash
  • 70,667
  • 10
  • 60
  • 88