Overview
Upload a file of email addresses to start a batch verification task. Processing runs asynchronously, and you can optionally provide a webhook for completion notifications.POST /api/v1/tasks/batch/upload
Purpose: upload a file containing email addresses for batch verification. Processing happens asynchronously.Request
Headers:Content-Type: multipart/form-data
file(required): the email list file.webhook_url(optional): webhook URL for notifications.email_column(optional): column header or 1-based index for CSV/XLSX.column(optional): alias foremail_column.
- Allowed formats and max file size are enforced by server config. Supported extensions:
.txt,.csv,.xlsx. email_columnis not supported for.txtfiles.user_idis not allowed in the form body.- Maximum of 10,000 emails per file.
Response
Status:202 Accepted
Example response:
upload_id: UUID for this upload.task_id: task created for processing.filename: original file name.email_count: emails queued for processing.status: current status (processing,completed,failed).message: human-readable status message.uploaded_at: timestamp of the upload.
400file missing, unsupported file format, invalid file, invalid webhook URL, invalidemail_column, no valid emails, email limit exceeded, or validation failures.401unauthorized.500internal error.