Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up CRMLoad an audience
getList TypespostCreate TypeputUpdate TypedelDelete TypegetList PreferencesgetSubscribe Status
CRMNotifications

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.

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

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to list attributes from.

Query Parameters

includeSystemAttributesboolean

Also return Saasco's built-in $-prefixed attributes (geo, device, subscription state) alongside your own custom ones.

skipnumber

Number of attributes to skip before collecting results.

Default: 0
takenumber

Maximum number of attributes to return.

Default: 24

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://www.saasco.com/api/v2/projects/string/crm/notification-types"
[
  {
    "id": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "name": "string",
    "description": "string",
    "projectId": "string"
  }
]
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Get Contact Lists

Lists every contact list one contact belongs to: the list-membership view for a contact detail page. The inverse of List Members.

Create Type

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