POST /listcleaning/list
POSTlistcleaning/list
Create a new list cleaning job by providing a list of email addresses
Request Body
title string Required
Name of the listcleaning list for easy identification
emails array
Array of emails to be added to the list. Maximum 200,000 emails are allowed in one batch.
key string
Unique key identifier, available only if the list has been added through a presigned url link.
profile_id string
Profile ID to associate with the list
webhook_url string
Webhook URL to receive list processing status updates
Returns
- dataobject
- idstringUnique identifier of the listcleaning list
- titlestringName of the listcleaning list for easy identification
- profile_idstringProfile ID associated with the list
- webhook_urlstringWebhook URL to receive list processing status updates
- statusstringCurrent processing status of the listcleaning listAllowed values:
INIT,PRE_PROCESSING,PRE_PROCESSING_DONE,PROCESSING,DONE,FAILED - available_presaved_listsarrayList of available presaved result variants that can be downloadedAllowed values:
all,safe-to-send,send-with-caution - emails_countnumberTotal number of emails in the list
- invalid_format_countnumberNumber of emails with invalid email format
- duplicates_countnumberNumber of duplicate emails found in the list
- domains_countnumberTotal number of unique domains in the list
- created_atstringTimestamp when the list was created
- updated_atstringTimestamp when the list was last updated
- processing_start_atstringTimestamp when the list processing started
- processing_end_atstringTimestamp when the list processing completed
- preprocessing_errorstringError message if preprocessing failed
- processing_errorstringError message if processing failed
- listcleaning_resultsobjectSummary of listcleaning results with counts for each category
- countnumberTotal number of processed emails
- deliverablenumberNumber of emails with deliverable status
- riskynumberNumber of emails with risky status
- undeliverablenumberNumber of emails with undeliverable status
- unknownnumberNumber of emails with unknown status
- toxicity_0numberNumber of emails with toxicity level 0 (lowest)
- toxicity_1numberNumber of emails with toxicity level 1
- toxicity_2numberNumber of emails with toxicity level 2
- toxicity_3numberNumber of emails with toxicity level 3
- toxicity_4numberNumber of emails with toxicity level 4
- toxicity_5numberNumber of emails with toxicity level 5 (highest)
- countnumber
- idstring
Error Codes
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
500 Internal Server Error
Internal server error