Check whether numbers are on WhatsApp
curl --request POST \
--url https://devapi.prov.ae/v2/public/whatsapp-check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"+971501234567",
"0507654321",
"+447700900123"
],
"fresh": false
}
'import requests
url = "https://devapi.prov.ae/v2/public/whatsapp-check"
payload = {
"phones": ["+971501234567", "0507654321", "+447700900123"],
"fresh": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({phones: ['+971501234567', '0507654321', '+447700900123'], fresh: false})
};
fetch('https://devapi.prov.ae/v2/public/whatsapp-check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://devapi.prov.ae/v2/public/whatsapp-check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'phones' => [
'+971501234567',
'0507654321',
'+447700900123'
],
'fresh' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://devapi.prov.ae/v2/public/whatsapp-check"
payload := strings.NewReader("{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://devapi.prov.ae/v2/public/whatsapp-check")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devapi.prov.ae/v2/public/whatsapp-check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"input": "+971501234567",
"e164": "+971501234567",
"status": "on_whatsapp",
"onWhatsapp": true,
"checkedAt": "2026-11-04T09:30:02.871Z",
"source": "fresh",
"error": null
},
{
"input": "0507654321",
"e164": "+971507654321",
"status": "not_on_whatsapp",
"onWhatsapp": false,
"checkedAt": "2026-10-28T14:02:11.204Z",
"source": "cache",
"error": null
},
{
"input": "+447700900123",
"e164": "+447700900123",
"status": "unknown",
"onWhatsapp": null,
"checkedAt": "2026-11-04T09:30:03.112Z",
"source": "fresh",
"error": null
}
],
"meta": {
"requested": 3,
"unique": 3,
"invalid": 0,
"fromCache": 1,
"fromProvider": 2,
"unavailable": 0,
"fresh": false,
"cacheTtlDays": 30,
"maxNumbersPerRequest": 50
}
}{
"statusCode": 400,
"code": "WHATSAPP_CHECK_TOO_MANY_NUMBERS",
"message": "A WhatsApp check takes at most 50 phone numbers; 51 were sent.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z",
"details": {
"max": 50,
"received": 51
}
}{
"statusCode": 401,
"code": "OAUTH_TOKEN_EXPIRED",
"message": "OAuth access token expired",
"path": "/v2/public/projects/filters",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"statusCode": 403,
"code": "OAUTH_CLIENT_GRANT_MISSING",
"message": "This client is not allowed to use this endpoint. It needs the \"client:dncr:check:create\" grant.",
"details": {
"requiredGrant": "client:dncr:check:create"
},
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T12:00:00.000Z"
}{
"statusCode": 422,
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"errors": [
"property page should not exist"
],
"path": "/v2/public/developers?page=1&limit=2",
"timestamp": "2026-08-19T07:20:28.507Z"
}{
"statusCode": 429,
"code": "RATE_LIMITED",
"message": "Too Many Requests",
"path": "/v2/public/leads",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"statusCode": 502,
"code": "WHATSAPP_CHECK_UPSTREAM_ERROR",
"message": "WhatsApp checks could not be run. Try again in a few minutes.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z"
}{
"statusCode": 503,
"code": "WHATSAPP_CHECK_NO_BALANCE",
"message": "WhatsApp checks have stopped: the account has run out of balance.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z"
}WhatsApp check
Check whether numbers are on WhatsApp
Tells you, for up to 50 phone numbers of any country, whether each has a WhatsApp account. Answers are kept for 30 days; send fresh: true to ask again, which is billed to Provident. unknown means the check could not tell and is not a no. A number that cannot be answered gets its own status and does not fail the request. Enabled on your credentials separately.
POST
/
public
/
whatsapp-check
Check whether numbers are on WhatsApp
curl --request POST \
--url https://devapi.prov.ae/v2/public/whatsapp-check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"+971501234567",
"0507654321",
"+447700900123"
],
"fresh": false
}
'import requests
url = "https://devapi.prov.ae/v2/public/whatsapp-check"
payload = {
"phones": ["+971501234567", "0507654321", "+447700900123"],
"fresh": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({phones: ['+971501234567', '0507654321', '+447700900123'], fresh: false})
};
fetch('https://devapi.prov.ae/v2/public/whatsapp-check', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://devapi.prov.ae/v2/public/whatsapp-check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'phones' => [
'+971501234567',
'0507654321',
'+447700900123'
],
'fresh' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://devapi.prov.ae/v2/public/whatsapp-check"
payload := strings.NewReader("{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://devapi.prov.ae/v2/public/whatsapp-check")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devapi.prov.ae/v2/public/whatsapp-check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"phones\": [\n \"+971501234567\",\n \"0507654321\",\n \"+447700900123\"\n ],\n \"fresh\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"input": "+971501234567",
"e164": "+971501234567",
"status": "on_whatsapp",
"onWhatsapp": true,
"checkedAt": "2026-11-04T09:30:02.871Z",
"source": "fresh",
"error": null
},
{
"input": "0507654321",
"e164": "+971507654321",
"status": "not_on_whatsapp",
"onWhatsapp": false,
"checkedAt": "2026-10-28T14:02:11.204Z",
"source": "cache",
"error": null
},
{
"input": "+447700900123",
"e164": "+447700900123",
"status": "unknown",
"onWhatsapp": null,
"checkedAt": "2026-11-04T09:30:03.112Z",
"source": "fresh",
"error": null
}
],
"meta": {
"requested": 3,
"unique": 3,
"invalid": 0,
"fromCache": 1,
"fromProvider": 2,
"unavailable": 0,
"fresh": false,
"cacheTtlDays": 30,
"maxNumbersPerRequest": 50
}
}{
"statusCode": 400,
"code": "WHATSAPP_CHECK_TOO_MANY_NUMBERS",
"message": "A WhatsApp check takes at most 50 phone numbers; 51 were sent.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z",
"details": {
"max": 50,
"received": 51
}
}{
"statusCode": 401,
"code": "OAUTH_TOKEN_EXPIRED",
"message": "OAuth access token expired",
"path": "/v2/public/projects/filters",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"statusCode": 403,
"code": "OAUTH_CLIENT_GRANT_MISSING",
"message": "This client is not allowed to use this endpoint. It needs the \"client:dncr:check:create\" grant.",
"details": {
"requiredGrant": "client:dncr:check:create"
},
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T12:00:00.000Z"
}{
"statusCode": 422,
"code": "VALIDATION_ERROR",
"message": "Validation failed",
"errors": [
"property page should not exist"
],
"path": "/v2/public/developers?page=1&limit=2",
"timestamp": "2026-08-19T07:20:28.507Z"
}{
"statusCode": 429,
"code": "RATE_LIMITED",
"message": "Too Many Requests",
"path": "/v2/public/leads",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"statusCode": 502,
"code": "WHATSAPP_CHECK_UPSTREAM_ERROR",
"message": "WhatsApp checks could not be run. Try again in a few minutes.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z"
}{
"statusCode": 503,
"code": "WHATSAPP_CHECK_NO_BALANCE",
"message": "WhatsApp checks have stopped: the account has run out of balance.",
"path": "/v2/public/whatsapp-check",
"timestamp": "2026-11-04T09:30:02.871Z"
}Authorizations
Body
application/json