Would you like to get your email validation API results? Please follow our instructions below.
The getfile API allows you to get the validation results for the file you submitted using sendfile API. Please refer to the C# example for details.
GET /V2/GETFILE
API URL: https://bulkapi.zerobounce.net/v2/getfile
URL Parameters
- ParameterDescription
- api_keyYour API Key, found in your account.
- file_idThe returned file ID when calling sendfile API.
- activity_dataPossible values: true/false
If set to ‘true’ activity data information will be appended to the results file.
Click here for more information about Activity Data.
If you want to call the API from your browser to test it, all you have to do is to replace the API KEY with your API key and the FILE ID with the returned file ID from sendfile API:
https://bulkapi.zerobounce.net/v2/getfile?api_key=replacewithyours&file_id=[replacewithyours]
Or if you wish for Activity Data to be added to the results file please include activity_data=true:
https://bulkapi.zerobounce.net/v2/getfile?api_key=replacewithyours&file_id=[replacewithyours]&activity_data=true
GETFILE CODE SAMPLES
ENDPOINT RESPONSE
Successful Response
//N/A
The getfile API returns the validation results file. The returned content type is "application/octet-stream". You can get the file name from response.Content.Headers.ContentDisposition.FileName. If you are calling the API directly from the browser, you can either save or open the results file from the browser.
Error Response
{
"success": false,
"message": "Error messages"
}
The ZeroBounce email validation API can be used either in real time or in bulk – if you need to validate emails consistently and would like to automate the process. The API detects more than 30 email status and sub-status codes, preventing risky and poor-quality data from being added to your email database.
Need help getting your email validation API results? Our team is here to lend a hand. Reach out to us anytime, we offer 24/7 customer support.