Phone Scrub HTTP API

Description

This API scrubs single / multiple numbers and returns the response in the same call. It supports HTTP POST requests.

API Format

Currently we support HTTP request. Data in following json format must be send in ‘post’ request.

{
     “ApiKey”: “put your key here”,
     “AppendModule”: “PhoneAppend”,
     “AppendType”:1,
     “DncFlag”:”true”,
     “Data”: [{
         “FirstName”: “”,
         “LastName”: “”,
         “Address”: “”,
         “City”: “”,
         “Zip”: “”
     }]
}

Example

{

     “ApiKey”: “put your key here”,
     “AppendModule”: “PhoneAppend”,
     “AppendType”:2,
     “DncFlag”:”true”,
     “Data”: [{
         “FirstName”: “GXXXXA”,
         “LastName”: “xxxxxO”,
         “Address”: “Px xxx 5xx”,
         “City”: “xxxxxA”,
         “Zip”: “0xxx2”
     },
     {
         “FirstName”: “Dxxxxd”,
         “LastName”: “Cxxxxes”,
         “Address”: “xx6 xth xt”,
         “City”: “xxxxey xxxy”,
         “Zip”: “0xx02”
     }]
}

Response

If success:

{
     “ResponseDetail”:
     {
     “Token”: “Token will returned”,
     “Data”:[
     {
         “FirstName”: “GXXXXA”,
         “LastName”: “xxxxxO”,
         “Address”: “Px xxx 5xx”,
         “City”: “xxxxxA”,
         “Zip”: “0xxx2”
         “Phone”:”7xxxxxxx96″,
         “DoNotCall”:”YES”
     },
     {
         “FirstName”: “Dxxxxd”,
         “LastName”: “Cxxxxes”,
         “Address”: “xx6 xth xt”,
         “City”: “xxxxey xxxy”,
         “Zip”: “0xx02”
         “Phone”:””,
         “DoNotCall”:”No”
     }
     ],
     “OrderAmount”:”$0.03″,
     “Count”:2
     },
     “Status”:true,
     “Message”:null
}

If failed:

{
      “ResponseDetail”: null,

      “Status”: false,
      “Message”: “Invalid API Key.”
}

Append Type Description:

{
      1 – Cellphone
      2 – Landline
      3 – Cellphone + Landline
      4 – Landline + Cellphone
}