Get Started
The Email Append API enriches your customer records by adding email addresses through a matching process against Datazapp’s email database.
To use this API, you’ll need an active API key. Contact Datazapp support or your account representative to request API access.
API Endpoint
Replace the placeholder below with your assigned Datazapp API endpoint URL.
<datazapp api endpoint URL>
Email Append API Request
Submit your API key, append module, append type, and customer records in the request body.
{
"ApiKey": "Put your api key here",
"AppendModule": "EmailAppend",
"AppendType": 3,
"Data": [
{
"FirstName": "John",
"LastName": "Doe",
"Address": "123 Main St",
"City": "Anytown",
"Zip": "12345"
}
]
}
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
ApiKey |
Yes | String | Your assigned Datazapp API key. |
AppendModule |
Yes | String | Use EmailAppend. |
AppendType |
Yes | Integer / String | Determines which email append method should be used. |
Data |
Yes | Array | Contains the customer records to process. |
FirstName |
Yes | String | First name of the person. |
LastName |
Yes | String | Last name of the person. |
Address |
Yes | String | Valid United States postal address. |
City |
Yes | String | City name. |
Zip |
Yes | String | 5-digit ZIP code. ZIP+4 is also accepted. |
AlterFirstName |
No | String | Alternate first name, second name, or spouse name. This may help improve match rate. |
AlterLastName |
No | String | Alternate last name, second name, or spouse name. This may help improve match rate. |
AlterAddress |
No | String | Secondary address, when available. |
AlterCity |
No | String | Secondary city, when available. |
AlterZip |
No | String | Secondary ZIP code, when available. |
AppendType Values
API Response
A successful response includes a header, system-generated token, returned data, appended email, matched count, order amount, and processing time.
{
"header": {
"Status": 0,
"Message": null
},
"ResponseDetail": {
"App": 0,
"Token": "xxxxxx",
"Data": [
{
"Matched": true,
"FirstName": "John",
"LastName": "Doe",
"Address": "123 Main St",
"City": "Anytown",
"Zip": "12345",
"AlterFirstName": "",
"AlterLastName": "",
"AlterAddress": "",
"AlterCity": "",
"AlterZip": "",
"Email": "j***e@g****l.com"
}
],
"OrderAmount": "$0.03",
"Count": 1,
"Message": null,
"ProcessedTime": "In milliseconds"
},
"Status": true,
"Message": null
}
Response Fields
| Field | Type | Description |
|---|---|---|
header.Status | Integer | Indicates header status. |
header.Message | String | Indicates error type, when applicable. |
ResponseDetail.App | Integer | Application reference value returned by the system. |
ResponseDetail.Token | String | System-generated reference token. |
ResponseDetail.Data | Array | Returned append result records. |
Matched | Boolean / String | Indicates whether the submitted record matched. |
FirstName | String | First name associated with returned record. |
LastName | String | Last name associated with returned record. |
Address | String | United States postal address associated with returned record. |
City | String | City associated with returned record. |
Zip | String | ZIP or ZIP+4 associated with returned record. |
AlterFirstName | String | Secondary or alternate first name, when available. |
AlterLastName | String | Secondary or alternate last name, when available. |
AlterAddress | String | Secondary or alternate address, when available. |
AlterCity | String | Secondary or alternate city, when available. |
AlterZip | String | Secondary or alternate ZIP, when available. |
Email | String | Returned appended email address. |
OrderAmount | String | Amount charged for returned matches. |
Count | String / Integer | Number of matched records. |
ProcessedTime | String | Total API processing time. |
Status | Boolean / String | Indicates overall request status. |
Message | String | Null when successful, or error detail when applicable. |
Errors
The API may return one of the following error messages if the request cannot be completed.