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
postList ContactsgetGet ContactgetGet By EmailgetList RelatedpostUpsert ContactpatchUpdate ContactdelDelete ContactpostGet PropertiespostCount SubscribedpostMigrate Distinct Id
CRMContacts

Delete Contact

View as MarkdownAgent setup

Deletes a contact. The removal is processed asynchronously and can take up to 15 minutes; in the meantime the contact stays queryable with the system property $_toDelete set to true, which is how you can tell a deletion is pending rather than lost. Cannot be undone.

DELETE
/projects/{projectId}/crm/contacts/{contactDistinctId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the contact.

contactDistinctIdrequiredstring

Distinct ID of the contact to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/projects/string/crm/contacts/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "projectId": "string",  "distinctId": "string",  "email": "string",  "toDelete": true}

Update Contact

Updates a contact's properties. Properties are merged, so omitted ones keep their current values. Functionally the same as Upsert Contact for a contact that already exists; use this when you want the call to be explicitly an update.

Get Properties

Returns just a contact's property bag, without the surrounding contact record. Naming specific `attributes` keeps the response small when you only need a few values from a contact with many properties.