Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up CRMLoad an audience
getGet Clean SettingsputUpdate Clean Settings
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.

PUT
/projects/{projectId}/crm/clean/settings

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": []
}

Get Clean Settings

Returns the project's list-hygiene settings, which control whether new contacts have their email addresses validated automatically as they arrive.

Set up Email Marketing

What an agent needs to verify a sending domain for Email Marketing through the MCP.