curl --request POST \
--url https://devapi.prov.ae/v2/public/dncr/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"0501234567",
"+971 50 765 4321"
],
"fresh": false
}
'import requests
url = "https://devapi.prov.ae/v2/public/dncr/check"
payload = {
"phones": ["0501234567", "+971 50 765 4321"],
"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: ['0501234567', '+971 50 765 4321'], fresh: false})
};
fetch('https://devapi.prov.ae/v2/public/dncr/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/dncr/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' => [
'0501234567',
'+971 50 765 4321'
],
'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/dncr/check"
payload := strings.NewReader("{\n \"phones\": [\n \"0501234567\",\n \"+971 50 765 4321\"\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/dncr/check")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n \"0501234567\",\n \"+971 50 765 4321\"\n ],\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devapi.prov.ae/v2/public/dncr/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 \"0501234567\",\n \"+971 50 765 4321\"\n ],\n \"fresh\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"input": "0501234567",
"phone": "0501234567",
"e164": "+971501234567",
"status": "registered",
"onDncr": true,
"dncrStatus": "TRUE",
"etisalatStatus": null,
"checkedAt": "2026-10-06T08:12:44.120Z",
"source": "cache",
"error": null
},
{
"input": "+971 50 765 4321",
"phone": "0507654321",
"e164": "+971507654321",
"status": "not_registered",
"onDncr": false,
"dncrStatus": "FALSE",
"etisalatStatus": null,
"checkedAt": "2026-10-06T09:30:02.871Z",
"source": "fresh",
"error": null
},
{
"input": "041234567",
"phone": null,
"e164": null,
"status": "invalid",
"onDncr": null,
"dncrStatus": null,
"etisalatStatus": null,
"checkedAt": null,
"source": null,
"error": "\"041234567\" is not a UAE mobile number. DNCR checks cover UAE mobiles only: 05XXXXXXXX or 9715XXXXXXXX."
}
],
"meta": {
"requested": 3,
"unique": 2,
"invalid": 1,
"fromCache": 1,
"fromEtisalat": 1,
"fresh": false,
"cacheTtlDays": 180,
"maxNumbersPerRequest": 20,
"transactionId": "3f1c2a9e-6a43-4b4e-9d0e-6c1f1d0b7a52"
}
}{
"statusCode": 400,
"code": "DNCR_TOO_MANY_NUMBERS",
"message": "A DNCR check takes at most 20 phone numbers; 21 were sent.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z",
"details": {
"max": 20,
"received": 21
}
}{
"statusCode": 401,
"code": "OAUTH_TOKEN_EXPIRED",
"message": "OAuth access token expired",
"path": "/v2/public/projects/filters",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"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": "DNCR_UPSTREAM_ERROR",
"message": "The DNCR registry could not be reached. Try again in a few minutes.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z"
}{
"statusCode": 503,
"code": "DNCR_NOT_CONFIGURED",
"message": "DNCR checks are not configured on this server.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z"
}Check numbers against the Do Not Call Registry
Checks up to 20 UAE mobile numbers against the UAE Do Not Call Registry. Answers are cached for 180 days; send fresh: true (or ?fresh=true) to ask the registry again. A number that is not a UAE mobile comes back as invalid and does not fail the request. not_found is not a clearance: it means the registry holds no record of the number.
curl --request POST \
--url https://devapi.prov.ae/v2/public/dncr/check \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"0501234567",
"+971 50 765 4321"
],
"fresh": false
}
'import requests
url = "https://devapi.prov.ae/v2/public/dncr/check"
payload = {
"phones": ["0501234567", "+971 50 765 4321"],
"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: ['0501234567', '+971 50 765 4321'], fresh: false})
};
fetch('https://devapi.prov.ae/v2/public/dncr/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/dncr/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' => [
'0501234567',
'+971 50 765 4321'
],
'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/dncr/check"
payload := strings.NewReader("{\n \"phones\": [\n \"0501234567\",\n \"+971 50 765 4321\"\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/dncr/check")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"phones\": [\n \"0501234567\",\n \"+971 50 765 4321\"\n ],\n \"fresh\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://devapi.prov.ae/v2/public/dncr/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 \"0501234567\",\n \"+971 50 765 4321\"\n ],\n \"fresh\": false\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"input": "0501234567",
"phone": "0501234567",
"e164": "+971501234567",
"status": "registered",
"onDncr": true,
"dncrStatus": "TRUE",
"etisalatStatus": null,
"checkedAt": "2026-10-06T08:12:44.120Z",
"source": "cache",
"error": null
},
{
"input": "+971 50 765 4321",
"phone": "0507654321",
"e164": "+971507654321",
"status": "not_registered",
"onDncr": false,
"dncrStatus": "FALSE",
"etisalatStatus": null,
"checkedAt": "2026-10-06T09:30:02.871Z",
"source": "fresh",
"error": null
},
{
"input": "041234567",
"phone": null,
"e164": null,
"status": "invalid",
"onDncr": null,
"dncrStatus": null,
"etisalatStatus": null,
"checkedAt": null,
"source": null,
"error": "\"041234567\" is not a UAE mobile number. DNCR checks cover UAE mobiles only: 05XXXXXXXX or 9715XXXXXXXX."
}
],
"meta": {
"requested": 3,
"unique": 2,
"invalid": 1,
"fromCache": 1,
"fromEtisalat": 1,
"fresh": false,
"cacheTtlDays": 180,
"maxNumbersPerRequest": 20,
"transactionId": "3f1c2a9e-6a43-4b4e-9d0e-6c1f1d0b7a52"
}
}{
"statusCode": 400,
"code": "DNCR_TOO_MANY_NUMBERS",
"message": "A DNCR check takes at most 20 phone numbers; 21 were sent.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z",
"details": {
"max": 20,
"received": 21
}
}{
"statusCode": 401,
"code": "OAUTH_TOKEN_EXPIRED",
"message": "OAuth access token expired",
"path": "/v2/public/projects/filters",
"timestamp": "2026-07-27T06:31:04.512Z"
}{
"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": "DNCR_UPSTREAM_ERROR",
"message": "The DNCR registry could not be reached. Try again in a few minutes.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z"
}{
"statusCode": 503,
"code": "DNCR_NOT_CONFIGURED",
"message": "DNCR checks are not configured on this server.",
"path": "/v2/public/dncr/check",
"timestamp": "2026-10-06T09:30:02.871Z"
}Authorizations
The access_token returned by POST /oauth2/token, sent as Authorization: Bearer <access_token>. It is an opaque string, not a JWT.
Query Parameters
Same as fresh in the body. Either one set to true skips the cache.
true, false, 1, 0 Body
UAE mobile numbers, at most 20. Accepted forms: 05XXXXXXXX, 5XXXXXXXX, 9715XXXXXXXX, +9715XXXXXXXX, 009715XXXXXXXX. Spaces and dashes are ignored. A number sent twice is checked once.
1 - 20 elements["0501234567", "+971 50 765 4321"]
Skip the 180-day cache and ask the registry again for every number. Use it only when you need an answer as of right now. ?fresh=true does the same.