---
title: "Create a short link"
method: POST
path: "/ShortLinks"
tags: ["Shortlinks"]
---

# Create a short link

`POST /ShortLinks`

**Auth:** Authenticated - any signed-in user.

Create a short link for a redirect link

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- PostShortLinkRequest
  - `link` string, nullable
  - `customBackHalf` string, nullable

## Response `200`

Success - Success

- PostShortLinkResponse
  - `shortLink` ShortLink
    - `id` integer
    - `backHalf` string, nullable
    - `redirectLink` string, nullable
    - `createdBy` string, nullable
    - `created` string, date-time
    - `createdByDisplayName` string, nullable
  - `meta` Meta
    - `page` integer
    - `pageSize` integer
    - `total` integer

## Other responses

- `400` — An Error Occurred - Explain Error
- `401` — Unauthorized

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
