Looking for API where i can pass the list of phone numbers to for search
AnsweredI know there is search API /api/v2/users/search where i can pass phone number to search user, I have requirement to search by list of phone numbers, so that i can get list of users for those numbers.
-
Hi Dinesh,
Depending on the number of records you're searching, there are a couple of options. First, you could include multiple values in the query itself which will use OR logic for matching. Here's an article which goes in to a bit more detail. Second, you can create a script that iterates over an array of values and searches for each on an individual basis. One thing to consider with this method will be API rate limits, which you can read more about here.
I hope this helps. Feel free to reach out with any questions.
Tipene
-
Thanks Tipene, it worked
Please sign in to leave a comment.
2 Comments