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 AllgetGet ListpostCreate ListputUpdate ListdelDelete List
CRMLists

Get List

View as MarkdownAgent setup

Fetches a single contact list with its configuration, including the filter definition for a dynamic list. Members are not included. Use List Members for those.

GET
/projects/{projectId}/crm/contact-lists/{contactListId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the list.

contactListIdrequiredstring

ID of the contact list to fetch.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/crm/contact-lists/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "name": "string",  "description": "string",  "type": "static",  "contactsFilterGroups": [    {      "filters": [        {          "attributeDistinctId": "string",          "attributeType": "string",          "operator": "equals",          "value": "string"        }      ],      "oneDayEventFilters": [        {          "eventName": "string",          "operator": "performed"        }      ],      "groupType": "AND",      "requireSubscribed": true    }  ],  "projectId": "string"}

List All

Lists a project's contact lists with a total `count`. Narrow to one kind with `type`, or pass `contactId` to find the lists a particular contact belongs to.

Create List

Creates a contact list. A `static` list holds the members you add explicitly; a `dynamic` list stores a filter and recomputes its members on read, so contacts join and leave automatically as their properties change. Set `contactsFilterGroups` for a dynamic list.