---
title: "Fetch one of your links"
method: GET
path: "/api/links/{token}"
---

# Fetch one of your links

`GET /api/links/{token}`

## Request

- Base URL: `https://powerpoint-sucks.com`
- URL: `https://powerpoint-sucks.com/api/links/{token}`
- Auth: HTTP bearer

## Path parameters

- `token` string, required

## Response `200`

Link (expired links are flagged, not hidden)

- object
  - `link` Link, required
    - `token` string, required
    - `uploadId` string, required
    - `expiresAt` integer, required
    - `hasPassword` boolean, required
    - `tinyUrl` string, nullable, required
    - `createdAt` string, required
    - `expired` boolean, required

## Other responses

- `401`: Missing or invalid token
- `404`: Link not found

---

[API](https://skmtc.dev/powerpoint-sucks/apis/powerpoint-sucks-api.md) · [All operations](https://skmtc.dev/powerpoint-sucks/apis/powerpoint-sucks-api/llms.txt) · [OpenAPI document](https://skmtc.dev/powerpoint-sucks/apis/powerpoint-sucks-api/revisions/5455798dae1c?raw)
