Codes

One of your codes as an image

The code as saved — its colours, shapes and logo — without a frame. format, size and mm mean what they mean on GET /api/qr. Another workspace's id is a 404, never a 403.

For a link anyone can open without a key, use the publicImage field a code carries.

get/api/v1/codes/{id}/image

Request

  • Base URL: https://app.qrsalt.com
  • URL: https://app.qrsalt.com/api/v1/codes/{id}/image
  • Auth: HTTP bearer

Query parameters

format'svg' | 'png' | 'jpg' | 'webp' | 'pdf'

jpeg is accepted as jpg.

sizeinteger

Pixel width for SVG, PNG, JPG and WebP.

mmnumber

Printed width for the PDF, in millimetres.

Response

The image.

Changes

No recorded changes to this operation across all 1 revision of this API.