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

View as MarkdownAgent setup

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

GET
/projects/{projectId}/shortlink-clicks

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the short link.

Query Parameters

dateFromstring
dateTostring
shortlinkIdstring

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/shortlink-clicks"
{  "meta": [    {      "name": "string",      "type": "string"    }  ],  "rows": 0,  "statistics": {    "bytes_read": 0,    "elapsed": 0,    "rows_read": 0  },  "usage": {    "cost": 0,    "duration": 0,    "metricCount": 0  },  "data": [    {      "clicks": 0,      "date": "string"    }  ]}

Delete Shortlink

Deletes a short link. The hostname and path stop resolving. Click history already recorded stays in analytics.

Get Shortlink Clicks Count

All-time click count for one short link.