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
getList MembersgetGet List MemberpostQuery List MemberspostAdd to ListdelRemove from ListgetGet Contact Lists
CRMList Members

Add to List

View as MarkdownAgent setup

Adds a contact to a static list. Dynamic lists derive their members from a filter, so adding to one has no lasting effect. Change the list's filter instead.

POST
/projects/{projectId}/crm/contact-lists/{contactListId}/members

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the list.

contactListIdrequiredstring

ID of the contact list to add the contact to.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

contactDistinctIdrequiredstring

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/crm/contact-lists/string/members" \  -H "Content-Type: application/json" \  -d '{    "contactDistinctId": "string"  }'
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "projectId": "string",  "contactListId": "string",  "contactDistinctId": "string"}

Query List Members

The same result as List Members, but as a POST so it can carry a filter group in the body, for narrowing a list to a sub-segment, or naming exactly which contact properties to return. Use this when the query is too rich for a query string.

Remove from List

Removes a contact from a static list, identified by the contact's distinct ID. The contact itself is not deleted. Returns `null` if they were not in the list. Has no lasting effect on a dynamic list, whose membership comes from its filter.