Get started
API Endpoint (URL to post Data)
https://secureapi.datazapp.com/AppendMatch
Make an HTTP request to the Datazapp API endpoint: https://secureapi.datazapp.com/AppendMatch. Our DOB & Age Append API allows you to quickly and accurately match customer data and return DOB in JSON format.
Note: DOB and age append match API works for First Name, Last Name, Address, City, ZIP OR Email input.
To use this API, you need an API key. Please contact us at [email protected] to get your API key.
DOB & Age Append API Request
Request
{
"ApiKey": "<Key>",
"AppendModule": "DOBAgeAppend",
"AppendType": 1,
"Data": [
{
"Address": "140***** JU*****N RD",
"City": "PE*****G",
"FirstName": "S***H",
"LastName": "R***P",
"Zip": "4***1"
}
]
}
OR
{
"ApiKey": "<Key>",
"AppendModule": "DOBAgeAppendAPI",
"AppendType": 1,
"Data": [
{
"Email": "<Email Id>"
}
]
}
Query Parameters
| Parameter | Occurs | Description | Type | |
|---|---|---|---|---|
| APIKey | required | Issued by sales support or Datazapp Admin | String | |
| AppendModule | required | PhoneAppendAPI | String | |
| Append Type | required | Value should be 1 1- DOB Append |
Integer | |
| FirstName | required | First name (first name of person in household) | String | Use this combination for append based on individual name & address |
| LastName | required | Last name (last name of person in household) | String | |
| Address | required | Valid United States postal address. | String | |
| City | required | Valid United States City name. | String | |
| State | required | Valid United States State name. | String | |
| ZIP | required | Zip code associated. Zip or Zip+4 is accepted. | String | |
| required | Email id of the individual. | String | This will append based on email id. |
Response
Response JSON Example: (DOB)
{
"header": {
"Status": 0,
"Message": null
},
"ResponseDetail": {
"App": 0,
"Token": "E****R",
"Data": [
{
"Matched": true,
"Email": "",
"DOB": "00/00/0000",
"Age": null,
"Tag": null,
"FirstName": "S****H",
"LastName": "R****",
"Address": "14*** C**L J****N R*",
"City": "PE*******G",
"State": "",
"Zip": "4*****1"
}
],
"OrderAmount": "$0",
"Count": 1,
"Message": null,
"ProcessedTime": "110 milliseconds"
},
"Status": true,
"Message": null
}
OR
For Email Response
{
"header": {
"Status": 0,
"Message": null
},
"ResponseDetail": {
"App": 0,
"Token": "<Token>",
"Data": [
{
"Matched": true,
"Email": "ja*****o@gmail.com",
"DOB": "00/00/0000",
"Age": null,
"Tag": null,
"FirstName": "",
"LastName": "",
"Address": "",
"City": "",
"State": "",
"Zip": ""
}
],
"OrderAmount": "$0.025",
"Count": 1,
"Message": null,
"ProcessedTime": "267 milliseconds"
},
"Status": true,
"Message": null
}
Query Parameters
| Key | Type | Description |
|---|---|---|
| Following Parameters Should be send in Header: | ||
| Status | Integer | Indicate header status |
| Message | String | Indicate type of error |
| Following Parameters Should be send in ResponseDetails: | ||
| App | ||
| Token | String | System generated reference. |
| Following parameters should be sent in Data Object in Array format: | ||
| Matched | String | True=if matched , False =if not matched data |
| String | Email address of person | |
| DOB | String | Date Of Birth of person |
| Age | String | Age of person in household |
| Tag | String | |
| FirstName | String | First name of person |
| LastName | String | Last name of person |
| Address | String | United states postal address. |
| City | String | City of Individual from United States. |
| Zip | String | Zip code associated. Zip or Zip+4 is accepted |
| OrderAmount | String | Amount of count |
| Count | String | Number of count |
| Message | String | Null |
| ProcessedTime | String | Processing time |
| Status | String | True,False |
| Message | String | Null |
Errors
Error Messages: Datazapp API returns exceptions in the HTTP response body when something goes wrong.
| Error Message | Description |
|---|---|
| Module does not exist. | The specified module does not exist or Invalid AppendModule Name. |
| User not found. | Invalid API Key or The user associated with the API key was not found |
| Append Request not found | Invalid Token: The specified append request could not be found |
| Improper JSON Data. Please check. | The JSON data in the request does not match the expected format. |
| It seems like API has an issue. Please contact Support. | There is an issue with the API. Contact the [email protected] |
