Welcome

Authentication API reference

๐Ÿ” Get Started with Authentication

Our API uses bearer key-based authentication. Follow these simple steps to get started securely.

Register App

Register Your Application

To access our API, you'll need to register the application and get your API Key from profile.

Getting Started

Welcome to the Whitelist Data API! This guide will help you get up and running quickly. The platform is built to give you secure access to data enrichment tools through our web interface or directly via API.

Step 1: Sign Up
Before you can access the API, you need to create an account. Signing up gives you access to the dashboard, where you can manage your subscriptions and view usage statistics. You can register your account here.

Step 2: Choose a Subscription Plan
After signing up, you'll need to select a subscription plan that suits your needs. Our pricing plans are designed to provide flexibility whether you're just testing the API or running high-volume operations. Visit the pricing page to explore the available options, including monthly usage limits, endpoint access, and feature sets.

Subscription Plan Selection Screenshot

Step 3: Generate Your Keys
Once you've subscribed to a plan, go to your profile section to generate a unique API key. These keys are your secure identifier for all API requests, and it must be included in the headers of every API call. Keep these keys private, as it grants access to your accountโ€™s usage and data.

API Key Generation Screenshot

Step 4: Start Using the API
With your keys ready, you can start making requests to the endpoints. Make sure to review the API documentation for endpoint descriptions, request parameters, response formats, and error handling practices. The documentation ensures that you can integrate our services smoothly into your application or workflow.

If you encounter any issues, our support team is available to assist you. You can also access detailed FAQs and troubleshooting guides from the Help Center.

๐Ÿ“ต Suppress Duplicate API

The Suppress Duplicate API is used to determine whether a given phone number already exists in your suppression dataset. This helps avoid sending communications to duplicate or opted-out contacts.

๐Ÿ”— Endpoint

GET https://hooks.whitelistdata.com/api/SuppressDuplicate

๐Ÿ“ฅ Query Parameters

  • code โ€” Function access code (required)
  • secret โ€” Your secret key (required)
  • phoneNumber โ€” The phone number you want to check (required)
  • apiKey โ€” Your API key from the profile section (required)
  • return_key โ€” Set to anything to get proper result according to your system.
  • datasetId โ€” The ID of the dataset against which to check for duplicates (required)

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/SuppressDuplicate?code={code}&secret={secret}&phoneNumber={phoneNumber}&apiKey={apiKey}&return_key=found&datasetId={datasetId}

๐Ÿ“ค Response

If the phone number exists in the dataset:

{
"found": true
}

If the phone number does not exist:

{
"found": false
}

๐Ÿ“Ž Notes

  • Make sure your apiKey , secret and code are valid to avoid authentication errors.
  • {phoneNumber} should be provided in international format without spaces or symbols.
  • Keep your keys secure and do not expose them publicly.

๐Ÿ“ต Litigation Suppression API

The Litigation Suppression API allows you to check whether a phone number is flagged as a known litigator registry. It helps ensure compliance and reduce risk before dialing or messaging.

๐Ÿ”— Endpoint

POST https://hooks.whitelistdata.com/api/DNCAndLitigationSuppression

๐Ÿ“ฅ Query Parameters

  • code โ€” Function access code (required)
  • secret โ€” Your client secret key (required)
  • phoneNumber โ€” The phone number you want to verify (required)
  • apiKey โ€” Your API key from the profile section (required)
  • return_key โ€” Custom key for response JSON. Default is "found" (optional)
  • type โ€” Lookup type: "LitigationOnly" (required)

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/DNCAndLitigationSuppression?code={code}&secret={secret}&phoneNumber={phoneNumber}&apiKey={apiKey}&return_key=found&type=LitigationOnly

๐Ÿ“ค Response

If the phone number is found (listed or litigator):

{
"found": true
}

If the phone number is not found:

{
"found": false
}

๐Ÿ“Ž Notes

  • Ensure type is set correctly to either DNCAndLitigation or LitigationOnly.
  • Use international format for {phoneNumber} without spaces or symbols.
  • Keep your apiKey and secret secure and private.

๐Ÿ“ต DNC & Litigation Suppression API

The DNC & Litigation Suppression API allows you to check whether a phone number is flagged as a known litigator or is listed on a Do Not Call (DNC) registry. It helps ensure compliance and reduce risk before dialing or messaging.

๐Ÿ”— Endpoint

POST https://hooks.whitelistdata.com/api/DNCAndLitigationSuppression

๐Ÿ“ฅ Query Parameters

  • code โ€” Function access code (required)
  • secret โ€” Your client secret key (required)
  • phoneNumber โ€” The phone number you want to verify (required)
  • apiKey โ€” Your API key from the profile section (required)
  • return_key โ€” Custom key for response JSON. Default is "found" (optional)
  • type โ€” Lookup type: "DNCAndLitigation" (required)

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/DNCAndLitigationSuppression?code={code}&secret={secret}&phoneNumber={phoneNumber}&apiKey={apiKey}&return_key=found&type=DNCAndLitigation

๐Ÿ“ค Response

If the phone number is found (listed or litigator):

{
"found": true
}

If the phone number is not found:

{
"found": false
}

๐Ÿ“Ž Notes

  • Ensure type is set correctly to either DNCAndLitigation or LitigationOnly.
  • Use international format for {phoneNumber} without spaces or symbols.
  • Keep your apiKey and secret secure and private.

๐Ÿ“ฒ Push Number API

The Push Number API allows you to add a phone number to a suppression dataset. This is typically used when a contact opts out or when you want to prevent future communication with that number.

๐Ÿ”— Endpoint

GET https://hooks.whitelistdata.com/api/PushNumber

๐Ÿ“ฅ Query Parameters

  • code โ€” Function access code (required)
  • secret โ€” Your client secret key (required)
  • datasetId โ€” The ID of the dataset to which the number will be added (required)
  • phoneNumber โ€” The phone number you want to push (required)
  • apiKey โ€” Your API key from the profile section (required)
  • receivable โ€” Set to Yes or No depending on whether the number should be marked as receivable (required)
  • return_key โ€” Set to success to get the response status

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/PushNumber?code={code}&secret={secret}&datasetId={datasetId}&phoneNumber={phoneNumber}&apiKey={apiKey}&receivable={Yes/No}&return_key=success

๐Ÿ“ค Response

If the number is successfully pushed into the dataset:

{
  "success": true
}

If the request fails due to any error (invalid key, missing data, etc.):

{
  "success": false,
  "error": "Detailed error message here"
}

๐Ÿ“Ž Notes

  • Ensure apiKey and secret are valid to avoid authentication issues.
  • {phoneNumber} must be in international format (e.g., 919999999999) without spaces or symbols.
  • Use receivable=No if the number should be excluded from future campaigns.
  • Keep all credentials secure and do not expose them publicly.

๐Ÿ“‡ Data Append by Email API

The Data Append by Email API enriches a email by returning associated consumer information, including name, address, demographics, and more. It's useful for validating and completing records based on minimal input.

๐Ÿ”— Endpoint

GET https://hooks.whitelistdata.com/api/DataAppendByEmail

๐Ÿ“ฅ Query Parameters

  • code โ€” Authorization code from the provider (required)
  • enrichmenttype โ€” Level of enrichment: geo or basic or comprehensive (required)
  • email โ€” Email to enrich (required)
  • apiKey โ€” Your API key (required)
  • secret โ€” Your secret key for secure access (required)

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/DataAppendByEmail?code={code}&secret={secret}&enrichmenttype=basic&email={email}&apiKey={apiKey}

๐Ÿ“ค Sample Response

{
  "success": true,
  "messages": ["Append Successful"],
  "message": "Append Successful",
  "refObj": [
    {
      "id": null,
      "address": "125 Revere Dr",
      "city": "Pittsburgh",
      "first_Name": "joan",
      "last_Name": "bott",
      "state": "PA",
      "zip": "15236",
      "gender": "Female",
      "age": "87",
      "marital_Status": "Married",
      "income_HH": "H. $75,000-$99,999",
      "home_Owner": "Home Owner",
      "net_Worth_HH": "I. $250,000 - $499,999",
      "veteran_HH": "0",
      "children_HH": "0",
      "credit_Range": "C. 700-749",
      "occupation_Detail": "White Collar",
      "emails": "joanbott@hotmail.com, mr.hustle13@yahoo.com, joanbott@erols.com, joanbott@sbcglobal.net, jbutt@gmail.com",
      "phones": "4126531826"
    }
  ]
}
    

๐Ÿ“Ž Notes

  • Ensure the phone parameter is valid and numeric only.
  • The enrichmenttype can be geo or basic or comprehensive depending on your subscription.
  • Always secure your apiKey and secret โ€” never expose them publicly.

๐Ÿ“‡ Data Append by Phone API

The Data Append by Phone API enriches a phone number by returning associated consumer information, including name, address, demographics, and more. It's useful for validating and completing records based on minimal input.

๐Ÿ”— Endpoint

GET https://hooks.whitelistdata.com/api/DataAppendByPhone

๐Ÿ“ฅ Query Parameters

  • code โ€” Authorization code from the provider (required)
  • enrichmenttype โ€” Level of enrichment: geo or basic or comprehensive (required)
  • phone โ€” Phone number to enrich (required)
  • apiKey โ€” Your API key (required)
  • secret โ€” Your secret key for secure access (required)

๐Ÿ“Œ Sample Request

https://hooks.whitelistdata.com/api/DataAppendByPhone?code={code}&secret={secret}&enrichmenttype=basic&phone={phoneNumber}&apiKey={apiKey}

๐Ÿ“ค Sample Response

{
  "success": true,
  "messages": ["Append Successful"],
  "message": "Append Successful",
  "refObj": [
    {
      "id": null,
      "address": "125 Revere Dr",
      "city": "Pittsburgh",
      "first_Name": "joan",
      "last_Name": "bott",
      "state": "PA",
      "zip": "15236",
      "gender": "Female",
      "age": "87",
      "marital_Status": "Married",
      "income_HH": "H. $75,000-$99,999",
      "home_Owner": "Home Owner",
      "net_Worth_HH": "I. $250,000 - $499,999",
      "veteran_HH": "0",
      "children_HH": "0",
      "credit_Range": "C. 700-749",
      "occupation_Detail": "White Collar",
      "emails": "joanbott@hotmail.com, mr.hustle13@yahoo.com, joanbott@erols.com, joanbott@sbcglobal.net, jbutt@gmail.com",
      "phones": "4126531826"
    }
  ]
}
    

๐Ÿ“Ž Notes

  • Ensure the phone parameter is valid and numeric only.
  • The enrichmenttype can be geo or basic or comprehensive depending on your subscription.
  • Always secure your apiKey and secret โ€” never expose them publicly.

๐Ÿ—‚๏ธ Create Dataset API

The Create Dataset API is used to generate a new dataset within your selected vertical. Once created, you can upload a CSV file containing phone numbers to populate it.

๐Ÿ”— Endpoint

POST https://hooks.whitelistdata.com/api/CreateDataset

๐Ÿ“ฅ Query Parameters

  • verticalId โ€” The ID of the vertical you're creating the dataset for (required)
  • apiKey โ€” Your API key (required)
  • secret โ€” Your Secret (required)
  • code โ€” Code (required)
  • datasetName โ€” A name for your dataset (required)
  • datasetDescription โ€” Description for the dataset (optional)

๐Ÿ“ File Requirements

  • Only CSV (.csv) files are supported.
  • Each row in the file should contain a phone number in international or local format.

๐Ÿ“Œ Sample Request

POST https://hooks.whitelistdata.com/api/CreateDataset?verticalId={verticalId}&apiKey={apiKey}&datasetName={SampleDataset}&datasetDescription={Testdescription}&code={code}&secret={secret}

๐Ÿ“ค Response

{
"message": "Dataset pushed successfully"
}

๐Ÿ“Ž Notes

  • Ensure your apiKey and verticalId are valid.
  • The dataset name must be unique within your account.
  • CSV file must contain a header row and a column for phone numbers.

๐Ÿ“ฆ BulkScrub API

The BulkScrub API allows you to upload a CSV file of phone numbers and check them against suppression lists. This helps identify valid contacts, suppressed records, or invalid entries.

๐Ÿ”— Endpoint

POST https://hooks.whitelistdata.com/api/BulkScrub

๐Ÿ“ฅ Query Parameters

  • apiKey โ€” Your API key (required)
  • secret โ€” Your Secret (required)
  • code โ€” Code (required)
  • column โ€” The column name in your CSV file that contains phone numbers (e.g., phone)
  • suppressionType โ€” Type of suppression to apply:
    • 0 โ€” LitigationOnly
    • 1 โ€” DNCAndLitigation

๐Ÿ“ File Requirements

  • Only CSV (.csv) files are supported.
  • Make sure the column header matches the value passed in the column query parameter.
  • Each row in the file should contain a phone number in international or local format.

๐Ÿ“Œ Sample Request

POST https://hooks.whitelistdata.com/api/BulkScrub?apiKey={apiKey}&column=phone&suppressionType=1&code={code}&secret={secret}

๐Ÿ“ค Response

{
  "success": true,
  "messages": null,
  "message": "",
  "refObj": {
    "BadDuplicates": [],
    "BadDnc": [],
    "GoodNumbers": [
      "4802218311",
      "4802221242",
      "4802224664",
      "4802225555",
      "4802258098",
      "4802261889",
      "4802262160",
      "4802266270",
      "4802268864",
      "4802273149"
    ],
    "BadNumbers": [
      "4802217786",
      "4802222225",
      "4802233967",
      "4802238646",
      "4802250955",
      "4802252520",
      "4802256516",
      "4802257428",
      "4802270593",
      "4802271929",
      "4802276113",
      "4802281031"
    ],
    "InvalidNumbers": []
  }
}
    

๐Ÿ“Ž Notes

  • Ensure the column name provided matches exactly with the CSV file's header.
  • Only CSV file uploads are supported.
  • Make sure your apiKey is active and has proper access rights.
  • The response categorizes numbers into:
    • GoodNumbers: Safe to contact
    • BadNumbers: Found in suppression list
    • BadDnc: Found in DNC list
    • BadDuplicates: Repeated numbers
    • InvalidNumbers: Improperly formatted or missing