---
title: "Get a link"
method: GET
path: "/links/{id}"
tags: ["Links"]
---

# Get a link

`GET /links/{id}`

## Request

- Base URL: `https://fixed.link/api/v1`
- URL: `https://fixed.link/api/v1/links/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

The link

- Link
  - `id` string, required
  - `slug` string, required
  - `destination` string, uri, required
  - `shortUrl` string, uri, required
  - `status` 'active' | 'paused' | 'deleted', required
  - `state` 'active' | 'scheduled' | 'expired' | 'paused' | 'deleted', required
  - `clicks` integer, required
  - `tags` string[], required
  - `category` 'marketing' | 'product' | 'documentation' | 'engineering' | 'content' | 'media' | 'social' | 'commerce' | 'events' | 'support' | 'internal' | 'other', nullable, required: One coarse subject from a fixed list. Null when nothing has filed it.
  - `domain` object, nullable, required
    - `id` string, required
    - `hostname` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `404`: No such link

---

[API](https://skmtc.dev/fixed/apis/fixedlink-api.md) · [All operations](https://skmtc.dev/fixed/apis/fixedlink-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fixed/apis/fixedlink-api/revisions/72343453b299?raw)
