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

List Shortlinks

View as MarkdownAgent setup

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.

GET
/projects/{projectId}/shortlinks

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to list short links from.

Query Parameters

afterstring
takeinteger

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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

Get Inbound Email Attachment

Mints a short-lived download URL for one file on an inbound email. A POST rather than a GET because the URL expires and must not be cached. Returns 404 if the message or attachment does not belong to the project.

Get Shortlink

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