Check numbers on WhatsApp
Numbers
Check numbers
POST /v1/numbers/check — which of these numbers are on WhatsApp?
POST
Check numbers on WhatsApp
Ask which numbers are reachable on WhatsApp before you send to them. Nothing is sent to anybody.
Notes
- 1 to 50 numbers per request. More returns
400 invalid_requestwithdetails.max_numbers. - Duplicates are removed before the lookup.
submittedis what you sent,checkedis how many distinct numbers were actually looked up. - Results come back in the order you submitted them.
- This uses one of your connected numbers to do the lookup, so
instance_idis required and that number must be connected — otherwise you get409 instance_not_connected. - A check is not a message. It does not appear in your usage figures and does not consume a trial allowance. It does count against your per-minute rate limit.
Reading the results
boolean | null
true — on WhatsApp. false — not on WhatsApp. null — the check could not be completed for that number.string | null
The number WhatsApp actually answers on. In some countries this differs from the number you dialled — Brazil’s extra 9th digit is the classic case. When it differs, send to this number, not the one you looked up.
Example
Authorizations
Your API key, sent in an apikey request header. Never in the URL, never as a Bearer token.
Body
application/json
Which of your connected numbers to send FROM. Copy it from your numbers screen in the portal, or from GET /v1/instances. It must belong to your account.
Example:
"3f9c1a2b-7d4e-4c81-9f0a-2b6d5e8c1a34"
1 to 50 numbers per request, each with its country code. Duplicates are removed before the lookup.
Required array length:
1 - 50 elementsExample: