How it Works
1
Complete Email Cleaning
First use the Clean Email List
endpoint to process your file
2
Verify Cleaning Status
Ensure the file status is “cleaned” using the Get File
Details endpoint
3
Request Download URL
Use this endpoint with the file_id to get a secure download URL
4
Download the File
Use the provided download_url to download your cleaned email list
When to Use This Endpoint
Export Clean Data
Download validated emails for use in marketing campaigns or CRM systems
Backup Clean Lists
Save cleaned email lists to your local storage or backup systems
Integration with Tools
Import clean email lists into email marketing platforms or databases
Share Clean Results
Provide cleaned email lists to team members or clients
Example Usage
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
file_id | integer | Yes | ID of the file with cleaned emails |
File ID Required: The file_id must correspond to a file that has been
successfully cleaned and has a status of “cleaned”.
Response Format
Successful Response
Response Fields
| Field | Type | Description |
|---|---|---|
download_url | string | Secure pre-signed URL for downloading the cleaned email file |
filename | string | Name of the generated clean email file |
file_id | string | ID of the original file that was cleaned |
record_count | integer | Number of clean emails in the downloadable file |
format | string | File format (always “csv” for clean email lists) |
Download URL Characteristics
Secure Access
Pre-signed URLs: Download URLs are secure and temporarily accessible
without additional authentication
Time-Limited
Expiration: URLs typically expire after a set period for security
purposes
Direct Download
Ready to Use: URLs can be used directly in browsers or download tools
CSV Format
Standard Format: Files are provided in CSV format for maximum
compatibility
Understanding the Downloaded File
The downloaded CSV file contains:- Clean Email Addresses: Only emails that passed all validation checks
- Standard CSV Format: Compatible with spreadsheet applications and databases
- No Headers: Simple list format with one email per line
- UTF-8 Encoding: Supports international characters and domains
Important Notes
Cleaning Required: This endpoint only works with files that have been
processed through the cleaning workflow and have a status of “cleaned”.
Common Scenarios
Scenario 1: File Not Cleaned
Scenario 2: No Clean Emails
Scenario 3: Successful Download
Error Responses
| Status Code | Description | Action |
|---|---|---|
400 | Invalid or missing file_id parameter | Verify the file_id value |
401 | Unauthorized access | Check your API key |
404 | File not found or not accessible | Ensure file exists and belongs to you |
409 | File not ready for download | Wait for cleaning to complete |
Prerequisites
Required Steps: 1. Upload file using File
Upload 2. Clean file using Clean Email
List 3. Wait for cleaning to complete
(status = “cleaned”) 4. Use this endpoint to get download URL
Download Workflow Example
Integration Tips
Automated Downloads
Scripting: Integrate this endpoint into automated workflows for regular
email list cleaning
Webhook Integration
Event-Driven: Trigger downloads automatically when cleaning jobs
complete
Batch Processing
Multiple Files: Process multiple files and download all clean lists in
sequence
Data Pipeline
ETL Workflows: Incorporate into data processing pipelines for continuous
email hygiene
Related Endpoints
View Clean Results
Use View Clean List Results to
preview clean emails before downloading
Clean Email List
Use Clean Email List to initiate the
cleaning process
Authorizations
API key for authentication
Query Parameters
The ID of the file for which to generate a download URL.
Response
Download URL generated successfully
Secure pre-signed URL for downloading the cleaned email file
Name of the generated clean email file
ID of the original file that was cleaned
Number of clean emails in the downloadable file
File format of the downloadable file
Available options:
csv