Update Clean Settings
Replaces the project's list-hygiene settings. Unlike most update endpoints here, settings is written whole rather than merged, so send the complete object. Enabling automatic validation applies to contacts created from then on; it does not retroactively validate existing ones.
Authorization
Authorization In: header
Path Parameters
ID of the project whose clean settings to write.
Request Body
application/json
The complete settings object. Written as-is, replacing what is stored.
Validate the email address of every new contact as it is created. Validation is billed per contact, so this trades spend for list quality.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://www.saasco.com/api/v2/projects/string/crm/clean/settings" \ -H "Content-Type: application/json" \ -d '{ "settings": { "autoValidateNewContacts": true } }'{
"autoValidateNewContacts": true
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}Get Clean Settings
Returns the project's list-hygiene settings, which control whether new contacts have their email addresses validated automatically as they arrive.
List Email Campaigns
Lists the project's campaigns with their messages, status, and send progress. Optionally narrow to one kind with `type`. This is unpaginated and returns every campaign in the project.