简体   繁体   English

我可以通过批量 SMS 使用 Twilio 的查找 API 吗?

[英]Can I use Twilio's look up API with bulk SMS?

It seems not reasonable using Twilio's lookup API for each message when I try to send out a bulk.当我尝试发送大量消息时,对每条消息使用 Twilio 的查找 API 似乎不合理。 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.所以我想知道是否有一种方法或技术可以将 Twilio 的查找 API 与我的批量集成。

The Lookup API is not a bulk API.查找 API不是批量 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.这样,您只需要执行一次查找,它是在您的消息传递 API 请求之外完成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM