mDNDCheck

FREE
By webaroo
Updated 4 months ago
Commerce
-/10
Popularity Score
-
Latency
-
Success Rate

mDNDCheck API Documentation

mDNDCheck is a simple open API that can help lookup whether a mobile phone number is in the NCPR’s (National Customer Preference Register) DND (Do Not Disturb) list.

View API Details
GET/ncprScrub
GET/ncprScrub

NCPR Scrub

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
phoneNUMBER
REQUIREDIndian Phone Number
Code Snippet
unirest.get("https://webaroo-ncpr-scrub-v1.p.rapidapi.com/ncprScrub")
.header("X-RapidAPI-Host", "webaroo-ncpr-scrub-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://webaroo-ncpr-scrub-v1.p.rapidapi.com/ncprScrub
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://webaroo-ncpr-scrub-v1.p.rapidapi.com/ncprScrub")
.header("X-RapidAPI-Host", "webaroo-ncpr-scrub-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication