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 ShortlinksgetGet ShortlinkpostCreate ShortlinkputUpdate ShortlinkdelDelete ShortlinkgetGet Shortlink ClicksgetGet Shortlink Clicks CountgetGet Top Shortlinks
Shortlinks

Get Shortlink

View as MarkdownAgent setup

Fetches one short link by id. Returns null when the project has no link with that id.

GET
/projects/{projectId}/shortlinks/{shortlinkId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the short link.

shortlinkIdrequiredstring

ID of the short link to fetch.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/shortlinks/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "destinationURL": "http://example.com",  "shortLinkDomain": "string",  "shortLinkPath": "string",  "projectId": "string",  "domainId": "string"}

List Shortlinks

Lists a project's short links, newest first, with an all-time click count on each row. Pass the last id as after to read the next page.

Create Shortlink

Creates a short link on a domain that already belongs to the project. The domain has to be verified and have short links turned on. Point it at a real public page of this product. Do not invent a destination.