---
title: "Download the link's QR code"
method: GET
path: "/links/{id}/qr"
tags: ["Links"]
---

# Download the link's QR code

`GET /links/{id}/qr`

## Request

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

Encodes the short URL rather than the destination, so printed artwork keeps working after the destination changes.

## Path parameters

- `id` string, required

## Query parameters

- `format` 'svg' | 'png'
- `size` integer: PNG only.
- `margin` integer
- `dark` string
- `light` string

## Response `200`

The QR code

## 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)
