Amazon S3 Bulk API - documentation
These endpoints provide the ability to validate, score and export files via SSH File Transfer Protocol (SFTP) or via File Transfer Protocol (FTP) depending on the settings configured on your ZeroBounce account.
Validate File via SFTP/FTP
In order to validate a file located on your machine via SFTP/FTP, you can use the following endpoint:
POST /validateSFTPfile
API URL: https://bulkapi.zerobounce.net/validateSFTPfile
Body Parameters:
- ParameterDescription
- api_keyYour API Key, found in your account. (Required)
- file_nameYour Input Bucket; in case it’s not provided here, we’ll use the one you provided in the UI Settings. (Optional)
- has_header_rowTrue if the first row of your submitted file is a header row, else false. (Required)
- remove_duplicatesTrue if you want the system to remove duplicate emails, else false (defaults to true). Please note that if we remove more than 50% of the lines because of duplicates (parameter is true), the system will return a 400 bad request error as a safety net to let you know that more than 50% of the file has been modified. (Optional)
- return_urlThe URL will be used to call back when the validation is completed. (Optional)
ENDPOINT RESPONSE
Successful Response
Error Response
Score File via SFTP/FTP
In order to score a file located on your machine via SFTP/FTP, you can use the following endpoint:
POST /scoreSFTPfile
API URL: https://bulkapi.zerobounce.net/scoreSFTPfile
Body Parameters:
- ParameterDescription
- api_keyYour API Key, found in your account. (Required)
- file_nameThe name of your file (e.g. my_file.txt). The path will be taken from the your User Settings. (Required)
- has_header_rowTrue if the first row of your submitted file is a header row, else false. (Required)
- remove_duplicatesTrue if you want the system to remove duplicate emails, else false (defaults to true). Please note that if we remove more than 50% of the lines because of duplicates (parameter is true), the system will return a 400 bad request error as a safety net to let you know that more than 50% of the file has been modified. (Optional)
- return_urlThe URL will be used to call back when the validation is completed. (Optional)
ENDPOINT RESPONSE
Successful Response
Error Response
Email Finderⓘ via SFTP/FTP
In order to use Email Finderⓘ API with a file located on your machine via SFTP/FTP, you can use the following endpoint:
POST /emailFinderSFTPfile
API URL: https://bulkapi.zerobounce.net/emailFinderSFTPfile
Body Parameters:
- ParameterDescription
- api_keyYour API Key, found in your account. (Required)
- file_nameThe name of your file (e.g. my_file.txt). The path will be taken from the your User Settings. (Required)
- has_header_rowTrue if the first row of your submitted file is a header row, else false. (Required)
- remove_duplicatesTrue if you want the system to remove duplicate emails, else false (defaults to true). Please note that if we remove more than 50% of the lines because of duplicates (parameter is true), the system will return a 400 bad request error as a safety net to let you know that more than 50% of the file has been modified. (Optional)
- return_urlThe URL will be used to call back when the validation is completed. (Optional)
ENDPOINT RESPONSE
Successful Response
Error Response
Domain Search via SFTP/FTP
In order to use Domain Search API with a file located on your machine via SFTP/FTP, you can use the following endpoint:
POST /domainSearchSFTPfile
API URL: https://bulkapi.zerobounce.net/domainSearchSFTPfile
Body Parameters:
- ParameterDescription
- api_keyYour API Key, found in your account. (Required)
- file_nameThe name of your file (e.g. my_file.txt). The path will be taken from the your User Settings. (Required)
- has_header_rowTrue if the first row of your submitted file is a header row, else false. (Required)
- remove_duplicatesTrue if you want the system to remove duplicate emails, else false (defaults to true). Please note that if we remove more than 50% of the lines because of duplicates (parameter is true), the system will return a 400 bad request error as a safety net to let you know that more than 50% of the file has been modified. (Optional)
- return_urlThe URL will be used to call back when the validation is completed. (Optional)
ENDPOINT RESPONSE
Successful Response
Error Response
Export File via SFTP/FTP
This endpoint needs to be called in order to export a file back to your machine, via SFTP/FTP. In case the Export Path is provided, we will overwrite the one saved in our Database. Otherwise, we’ll use the one in your Settings. To be mentioned that it works for both validated and scored files.
POST /exportSFTPfile
API URL: https://bulkapi.zerobounce.net/exportSFTPfile
Body Parameters:
- ParameterDescription
- api_keyYour API Key, found in your account. (Required)
- file_idThe ID of the validated/scored file. (Required)
- export_pathThe Export Path; in case it’s not provided here, we’ll use the one you provided in the UI Settings. (Optional)
ENDPOINT RESPONSE
Successful Response
Error Response