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

Get Custom Link

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

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

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the link.

customContactLinkIdrequiredstring

ID of the custom link to fetch.

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/string"
{
  "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": []
}

List Custom Links

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

Create Custom Link

Creates a custom contact link: a templated URL shown on every contact page, with contact properties substituted in. Use it to jump straight from a contact to that same person in another system, for example a Stripe customer or an internal admin page.