THIS WEEK The Essential Guide to URL Management Read this week's article →
All API references

QR Code API

Render an owned short link as PNG, SVG, or PDF.

GET /api/v1/links/{shortCode}/qr GoTo.now API key
Authentication

Use https://goto.now and send Authorization: Bearer gtn_YOUR_KEY. Keep the key in server-side secrets, never browser code, a URL, or a public repository.

Download a QR code

curl "https://goto.now/api/v1/links/launch/qr?format=svg&size=900&color=031F39&background=FFFFFF" \
  -H "Authorization: Bearer gtn_YOUR_KEY" \
  --output launch-qr.svg
Query Values
format png, svg, or pdf
size 120–3000 pixels
color Six-digit foreground hex color without #
background Six-digit background hex color without #

The response is the binary image or document, not JSON. Preserve its returned Content-Type when proxying it through another service.


Return to all API references