This endpoint allows users to upload CSV or XLSX files for bulk email validation. It supports both organized files (with headers) and unorganized files, with intelligent email column detection.
How it Works
Upload File
Submit your CSV or XLSX file with the required parameters
Column Detection
If is_file_organised is true, the API automatically detects email columns
Column Selection (if needed)
If no email column is found, you’ll receive suggestions to choose the
correct column
Processing
Resubmit with the chosen email_column to start validation
Important Notes
Column Selection: You can always provide an email_column parameter, even
on the first upload. It’s particularly useful when you know the exact column
name containing email addresses.
File Resubmission: If you receive a 200 response with available_columns,
resubmit the same file with the chosen email_column to proceed with
processing.
File Organization: Set is_file_organised=false for files without headers
or with inconsistent structure. The API will attempt to detect emails from the
raw data.
API key for authentication
File upload with form data
The CSV or XLSX file to upload for email validation
Display name for the uploaded file
Whether the file has a structured format with column headers. Set to true for files with headers, false for unorganized data.
Tag to categorize the file processing type. 'clean' removes invalid emails, 'validate' checks email validity, 'analyze' provides detailed email insights.
Available options:
clean,
validate,
analyze
Name of the column containing email addresses. Optional on first upload, but required if the API returns column suggestions.
File uploaded but requires email column selection
Error message indicating no email columns found
Whether this is the first upload attempt
List of available column names in the file
Sample of first 3 rows to help identify the correct email column