CRMClean
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 AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project whose clean settings to write.
Request Body
application/json
settingsrequiredobject
The complete settings object. Written as-is, replacing what is stored.
autoValidateNewContactsrequiredboolean
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": []
}