Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getGet Clean SettingsputUpdate Clean Settings
CRMClean

Update Clean Settings

View as MarkdownAgent setup

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

TypeScript Definitions

Use the request body type in TypeScript.

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://example.com/projects/string/crm/clean/settings" \  -H "Content-Type: application/json" \  -d '{    "settings": {      "autoValidateNewContacts": true    }  }'
{  "autoValidateNewContacts": true}

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 status and send progress. Audience, UTM, A/B config, and message bodies are omitted — fetch a campaign by id for those. Optionally narrow with `type` or `types`. Omit `take` to return every matching campaign; the dashboard passes `take` (max 100) and `after` to page.