Clean Email List
Validation endpoints
Clean Email List
Process and clean an uploaded email list file with comprehensive validation options
POST
Clean Email List
This endpoint processes and cleans an uploaded email list file with comprehensive validation options. It requires a previously uploaded file from the File Upload endpoint.
How it Works
Upload File First
Use the File Upload endpoint to
upload your CSV or XLSX file and obtain the
file_id and file URLPrerequisites
File Upload Required: You must first upload a file using the
/v1/api/filesupload/ endpoint to obtain the required file_id and file
URL parameters.Validation Options
The cleaning process supports multiple validation levels:- validate_syntax: Checks email format and structure
- check_dmarc: Validates DMARC policy records
- validate_smtp: Performs SMTP server validation
- validate_mx: Checks MX record existence
Example Workflow
Authorizations
API key for authentication
Body
application/json
Email list cleaning request payload
Response
Email cleaning job initiated successfully
Unique identifier for the cleaning job
Current status of the cleaning job
Available options:
queued, processing, completed, failed Name of the email list being cleaned
ID of the source file
Estimated completion time for the cleaning job
Validation options that will be applied
Total number of emails to be processed
Number of credits required for this cleaning job