Bulk API List SubmissionSending a file by URLThe URL submitted must lead directly to the file and contain the type of input used, as well as any authentication credentials the request needs. The URL should be sent in the request as the input parameter and the input_type should be set to url. Below is an example request:
⇒ request POST (parameters need to be submitted in JSON format)
header "Content-Type: application/json"
url "https://www.impressionwise.com/app/api/create.aspx" data '{
"api_key" : "api key provided by Impressionwise",
}'
"input_type" : "url", "file_name" : "SampleFileAPI.zip", "input" : "url where file is located" Sending data directlyData submitted directly should exist as an array of arrays or an array of objects. The data should be sent in the request as the input parameter and the input_type should be set to data. Below is an example of this request:
⇒ request POST (parameters need to be submitted in JSON format)
header "Content-Type: application/json"
url "https://www.impressionwise.com/app/api/create.aspx" data '{
"api_key" : "api key provided by Impressionwise",
}'
"input_type" : "data", "file_name" : "SampleFileAPI.txt", "input" : '[
[
]'
"PeteyCruiser@testing.com",
],"Petey Cruiser" [
"AnnaSthesia@testing.com",
]"Anna Sthesia" Request ResponseWhen you submit a list via the API, the verification process will start automatically. If your credit balance is insufficient, the verification of your list will fail. You can purchase credits from the portal.
JSON Response
{
"status" : "success",
}
"token" : "b14a7c5c-a104-48c9-a522-22e9f1b79f6", "execution_time" : 10 (value in seconds) If an error occurs, the response will look like the below example:
JSON Response
{
"status" : "fail",
}
"description" : "Error downloading file. Please check it and try again" The failure description may vary depending on the type of fail action. Examples of common failure messages are:
Once you receive a response, you will want to store the value of the token, as it will be used to check the status and eventually retrieve the results. Checking the file statusNow that your list is running, you will need to poll the API and check the status periodically. For the first status check we recommended to wait approximately one minute until our cleaning system begins processing the file. For smaller lists (<50k) polling every 5-10 seconds is acceptable, but for larger lists (>50k) you’ll want to poll less frequently. Request Status
⇒ request GET\
url https://www.impressionwise.com/app/api/status.aspx?token=b14a7c5c-a104-48c9-a522-22e9f1b79f65
JSON Response
{
"status" : "success",
}
"token" : "b14a7c5c-a104-48c9-a522-22e9f1b79f6", "filename" : "SampleFileAPI", "created" : "2018-05-12 20:00:06", "started" : "2018-05-12 20:00:21", "checkpoint" : "exported", "finished" : "2018-05-12 21:52:46", "originalrecords" : 30000, "dedupedrecords" : 30000, "indeterminate" : 0, "invalidrcpts" : 2300, "catchall" : 0, "threat" : 6, "cert" : 20000, "suppress" : 10000, "dormant" : 0 In the response, the status parameter will indicate what the list is currently doing. Typically, status will be the only parameter you will need to watch. However, you may find the additional fields useful for monitoring list progress or to view a breakdown of the results in your list while it’s processing. "status" : This top-level job progress field contains one of four possible conditions. Shown below are these possible conditions and associated descriptions.
"checkpoint" : If you wish to follow the cleansing process in greater detail and the status condition = running then use the checkpoint field to determine job progress. Below are the possible condition descriptions.
Once the status value is set to success, you may begin retrieval of the results. Retrieving the ResultsNow with the cleansing process complete, it’s time to view our findings. Downloading Results
⇒ request GET\
url https://www.impressionwise.com/app/api/download.aspx?token=b14a7c5c-a104-48c9-a522-22e9f1b79f65
The data will be returned in a zip file containing the results. Example: SampleFileAPI.zip The following export files contain the full row of fields initially provided in comma-delimited or CSV files unless noted otherwise:
All file exports are formatted following the same field structure as provided with an additional field appended named “mxgroup” (Certified and Discretionary) or “threatclass” (Suppress). These file exports are sorted in ascending order (A-Z) using one of the two appended fields. The “mxgroup” field identifies the domain/ organization responsible for handling the reception and acceptance or filtering of email for that particular email address. For more information, see Delivery Group section. General Disclaimer: Every reasonable effort is made to locate all known threat and delivery classification elements mentioned herein, yet due to the constantly changing and dynamic nature of the online environment, we can not guarantee the results or deliverable will be free of any/all traps, threat or delivery classification elements identified within this report. While every attempt has been made to ensure that the information in this document is accurate and complete, some typographical errors or technical inaccuracies may exist. Impressionwise does not accept responsibility for any kind of loss resulting from the use of information provided. Questions? Please feel free to reach out with any questions you may have about our cleansing process or your results, and we look forward to you experiencing the results that truly set Impressionwise apart! |
|||||||||||||||||||||||||
Impressionwise empowers prospective clients to experience the value of our advanced list cleaning services firsthand. We offer a complimentary scan and detailed report on a sample of your data, allowing you to evaluate the impact our solutions can have on your email performance and data quality.
Before you head out…
Stop wondering and start knowing if your emails are safe and deliverable.
Experience Impressionwise's industry leading
No credit card required. | Zero obligations.