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 TypespostCreate TypeputUpdate TypedelDelete TypegetList PreferencesgetSubscribe Status
CRMNotifications

Create Type

View as MarkdownAgent setup

Creates a notification type: a subscription category contacts can opt in and out of separately from the project-wide subscribe flag.

POST
/projects/{projectId}/crm/notification-types

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the notification type.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

namerequiredstring
descriptionstring | null

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/crm/notification-types" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "name": "string",  "description": "string",  "projectId": "string"}

List Types

Lists the notification types a project has defined: the named categories, such as product updates or billing alerts, that contacts can subscribe to independently. Public and unauthenticated so a preference centre can render the available options before the contact is identified.

Update Type

Updates a notification type's name or description. Existing contact preferences for it are preserved.