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 Custom LinksgetGet Custom LinkpostCreate Custom LinkputUpdate Custom LinkdelDelete Custom Link
CRMCustom Links

List Custom Links

Lists the project's custom contact links: the templates, not the resolved URLs for any particular contact.

GET
/projects/{projectId}/crm/custom-contact-links

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to list custom links from.

Query Parameters

skipnumber

Number of links to skip before collecting results.

takenumber

Maximum number of links to return.

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/custom-contact-links"
[
  {
    "id": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "projectId": "string",
    "label": "string",
    "urlJSON": {
      "content": [
        {
          "attrs": {
            "property1": null,
            "property2": null
          },
          "content": [
            {
              "attrs": {
                "property1": null,
                "property2": null
              },
              "content": [],
              "marks": [
                {
                  "attrs": {
                    "property1": null,
                    "property2": null
                  },
                  "type": "string"
                }
              ],
              "text": "string",
              "type": "string"
            }
          ],
          "marks": [
            {
              "attrs": {
                "property1": null,
                "property2": null
              },
              "type": "string"
            }
          ],
          "text": "string",
          "type": "string"
        }
      ],
      "type": "doc"
    },
    "urlHTML": "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": []
}

Subscribe Status

Reports whether a contact is subscribed at the project level: the master switch that overrides every per-type preference. Public and unauthenticated so an unsubscribe page can show current state before the contact acts.

Get Custom Link

Fetches a single custom contact link template. Returns 404 if it does not exist.