Add a QR Code to Any Short Link

2 min

Before you start

1) QR codes are automatically generated

Every ogli.sh short link automatically gets a QR code. Just add /qr/ before your slug:

# If your short link is:
https://ogli.sh/AbC123

# Your QR code URL is:
https://ogli.sh/qr/AbC123

2) Get the QR URL from API response

When you create a link, the response includes the QR code URL:

// Response from POST /link
{
  "url": "https://ogli.sh/AbC123",
  "qrCodeUrl": "https://ogli.sh/qr/AbC123",
  "id": "link-id-123",
  "slug": "AbC123"
}

3) Use the QR code

QR code features


← Back to all how-tos