# Get a QR code (/growsocmed/docs/api-reference/links/get-link-qr)

QR code of the short link (PNG or SVG)

GET /links/{id}/qr

```json
{
  "tags": [
    "Links"
  ],
  "summary": "Get a QR code",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "png",
          "svg"
        ],
        "default": "png"
      },
      "required": false,
      "name": "format",
      "in": "query"
    }
  ],
  "responses": {
    "200": {
      "description": "Image"
    }
  },
  "operationId": "get-link-qr",
  "description": "QR code of the short link (PNG or SVG)"
}
```