ZeroBounce Logo

Docs

Language Icon
  • Sign In
  • Sign Up Free

Languages

ZeroBounce ImageGetting Started
ZeroBounce ImageEmail List Validation
ZeroBounce ImageA.I. Email Scoring
ZeroBounce ImageEmail Finder
ZeroBounce ImageDomain Search
ZeroBounce ImageActivity Data
ZeroBounce ImageMulti-file upload
ZeroBounce ImageIntegrations
ZeroBounce ImageUsage Reports
ZeroBounce ImageYour ZeroBounce Account
ZeroBounce ImageEmail Validation API
ZeroBounce ImageConnecting with Postman
ZeroBounce ImageGet Credit Balance (v2)
ZeroBounce ImageGet API Usage (v2)
ZeroBounce ImageSingle Email Validator-Real time (v2)
ZeroBounce ImageGreylist API Processing
ZeroBounce ImageWebsite Availability and WHOIS Checker
ZeroBounce ImageBatch Email Validator-Real time (v2)
ZeroBounce ImageAllowlist and Blocklist (v2)
ZeroBounce ImageSandbox Mode (v2)
ZeroBounce ImageStatus Codes (v2)
ZeroBounce ImageV2 Changes
ZeroBounce ImageFile Management Overview (v2)
ZeroBounce ImageSend File (v2)
ZeroBounce ImageFile Status (v2)
ZeroBounce ImageGet File (v2)
ZeroBounce ImageSuccess / Fail Response
ZeroBounce ImageDelete File (v2)
ZeroBounce ImageEmail Finder API
ZeroBounce ImageDomain Search API
ZeroBounce ImageBulk Domain Search API
ZeroBounce ImageDomain Search - Send File
ZeroBounce ImageDomain Search - File Status
ZeroBounce ImageDomain Search - Get File
ZeroBounce ImageDomain Search - Delete File
ZeroBounce ImageA.I. Scoring API
ZeroBounce ImageActivity Data API
ZeroBounce ImageList Evaluator API
ZeroBounce ImageApi Dashboard
ZeroBounce ImageAPI Wrappers
ZeroBounce ImageAPI Migration
ZeroBounce ImageFAQ
ZeroBounce ImageSecuring Your Account
ZeroBounce ImageAbout ZeroBounce
ZeroBounce ImageDeliverability Tools
ZeroBounce ImageStatus Page
  • Email Validation Homepage
  • Separator
  • Docs
  • Separator
  • Email Validation Quickstart
  • Separator
  • v2 Get File
Email Validation Quickstart

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.
  • activity_data
    Possible 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,
    "error_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.