GET FILE (V2)

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

  • Parameter
    Description
  • api_key
    Your API Key, found in your account.
  • file_id
    The returned file ID when calling sendfile API.

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]

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.