---
title: "Short link QR image"
method: GET
path: "/link/{link_id}/qr/"
tags: ["Short links"]
---

# Short link QR image

`GET /link/{link_id}/qr/`

## Request

- Base URL: `https://hovercode.com/api/v2`
- URL: `https://hovercode.com/api/v2/link/{link_id}/qr/`
- Auth: API key in header `Authorization`

`format=svg` returns the SVG inline; `format=png` (default) redirects to a generated PNG.

## Path parameters

- `link_id` string, uuid, required

## Query parameters

- `format` 'png' | 'svg'

## Response `200`

SVG image (format=svg).

## Other responses

- `302`: Redirect to the PNG (format=png).
- `401`: Missing or invalid API token.
- `404`: Not found, or not in a workspace you belong to.
- `429`: Rate limit exceeded. Wait `Retry-After` seconds before retrying.

---

[API](https://skmtc.dev/hovercode/apis/hovercode-api.md) · [All operations](https://skmtc.dev/hovercode/apis/hovercode-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hovercode/apis/hovercode-api/revisions/4a9bc3cafe41?raw)
