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 Clicks Count

View as MarkdownAgent setup

All-time click count for one short link.

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

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 count.

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/shortlinks/string/clicks"
{  "clicks": 0}

Get Shortlink Clicks

Daily click counts for one short link, or for every short link in the project when shortlinkId is omitted.

Get Top Shortlinks

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