-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to check the existence of multiple WhatsApp numbers. Currently, the /contacts/check-exists endpoint only allows checking one number at a time, which is inefficient when dealing with hundreds or thousands of contacts. It requires implementing client-side batching and throttling, which adds unnecessary complexity and overhead.
Describe the solution you'd like
I would like to have a dedicated bulk number check endpoint — for example:
POST /api/{session}/contacts/check-exists-bulk
This endpoint should accept a list of phone numbers and return a list of results with existence status and chatId, similar to the single number check.
Describe alternatives you've considered
Building custom client-side scripts that loop through numbers and call the existing /check-exists endpoint one by one.
Throttling the requests manually to avoid triggering rate limits or being flagged by WhatsApp.
Splitting the list into batches and making parallel requests — which is still error-prone and lacks performance when scaled.
Additional context
This feature would be especially helpful for CRM sync, contact import validation, or message campaigns. It will make the API more efficient and user-friendly for enterprise-scale applications.