Link Management

Generate a hosted QR code for the link

post/links/qr/{linkIdString}/hosted

Request

  • Base URL: https://api.short.io
  • URL: https://api.short.io/links/qr/{linkIdString}/hosted
  • Auth: API key in header Authorization

Path parameters

linkIdStringstring required

Link ID

Request body

colorstring

6 or 8-character hex color without # prefix (RRGGBB or RRGGBBAA)

backgroundColorstring

6 or 8-character hex color without # prefix (RRGGBB or RRGGBBAA)

sizenumber

QR code size scale factor

type'png' | 'svg'

QR code image format

useDomainSettingsboolean required

Use QR code settings configured on the domain

borderRadiusnumber

Dot border radius on the dashboard 0-5 scale, 5 = fully round

noExcavateboolean

Disable logo excavation (cutout) in the QR code

finderOuterShape'square' | 'rounded' | 'circle' | 'drop'

Shape of the outer finder pattern

finderInnerShape'square' | 'rounded' | 'circle' | 'drop'

Shape of the inner finder pattern

finderColorstring

6 or 8-character hex color without # prefix (RRGGBB or RRGGBBAA)

cornerMode'individual' | 'merge'

Corner module rendering mode

labelTextstring

Optional text label rendered with the QR code

labelStyle'below' | 'pill' | 'box'

Label visual style

labelColorstring

6 or 8-character hex color without # prefix (RRGGBB or RRGGBBAA)

labelBgColorstring

6 or 8-character hex color without # prefix (RRGGBB or RRGGBBAA)

labelFontSizenumber

Label font size in module units (rendered px = value * block size)

labelFontFamilystring

Label font family name

Example request

{
  "color": "FF0000",
  "backgroundColor": "FF0000",
  "size": 10,
  "type": "png",
  "useDomainSettings": true,
  "borderRadius": 2.5,
  "finderColor": "FF0000",
  "labelText": "Scan me",
  "labelColor": "FF0000",
  "labelBgColor": "FF0000",
  "labelFontSize": 5,
  "labelFontFamily": "Arial"
}

Response

Default Response

Changes

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