# GET /shortlinks

**Resource:** [SHORTLINKS](./shortlinks.md)  
**MCP tool:** `list_shortlinks`  
**Scopes:** `shortlinks:read`  
**Write operation:** no

List this workspace's TrustPager Shortlinks (trustpager.link/<name>), newest first, each with its short_url, destination, status (active, disabled, expired, taken_down), all-time clicks and whether it records leads (tracks_leads). Filter by label, campaign, active, source_type or source_id, or search across name, label, destination and campaign.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `label` | query | string | no | Part of the label. Example: "facebook". |
| `campaign` | query | string | no | Exact campaign, case ignored. Example: "spring-2026". |
| `active` | query | string | no | true: only links that work now; false: only links turned off or taken down. |
| `search` | query | string | no | Text to find in the name, label, destination or campaign. Example: "roof". |
| `source_type` | query | string | no | Exact source_type. Example: "social_post". |
| `source_id` | query | string | no | Exact source_id, e.g. a social post id. |
| `sort` | query | string | no | Sort column. Default created_at. |
| `order` | query | string | no | Default desc. |
| `limit` | query | number | no | Page size, default 50. |
| `after` | query | string | no | next_cursor from the previous page. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/shortlinks"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`