Notifications
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.
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": []
}