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 Top Shortlinks

View as MarkdownAgent setup

Ranks every short link in the project by clicks in the window, including links with zero clicks.

GET
/projects/{projectId}/top-shortlinks

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project whose short links to rank.

Query Parameters

dateFromstring
dateTostring

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/top-shortlinks"
[  {    "clicks": 0,    "shortLinkId": "string"  }]

Get Shortlink Clicks Count

All-time click count for one short link.

Get Social Proof Config

Reads the social proof widget: enabled flag, feed window, theme, display rules, and templates. Creates the config row on first read.