# GET /shortlinks/availability

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

Check whether a short link name is free before using it. Returns available (true or false), reason (available, invalid, taken, or yours when one of your own links already has it), a plain message such as "Taken. Try roof-repair-2.", and up to 3 free suggestions. Lower case letters, numbers and hyphens, 3 to 40 characters, no hyphen at the start or end and no two hyphens in a row. Case is ignored (Roof-Repair is saved as roof-repair). Names on trustpager.link are first come first served across every TrustPager workspace. Reserved words (admin, api, app, login, help, www and similar) and anything that looks like TrustPager itself (trustpager, support, billing, security) are refused.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `name` | query | string | yes | The name to check. Example: "roof-repair". |

## Request example

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

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