#The QR Code Design object
Captures the visual recipe Linkbreakers uses when rendering downloadable QR codes, including colors, shapes, export options, and center media. QR Code Designs are the visual representation of a link. They can be attached to QR Code Templates for reusability. They can only be attached to one record at a time.
backgroundOptions
BackgroundOptions represents the styling options for the QR code background
centralImageMargin
The margin around the central image in pixels
centralImageMediaId
The media library item the central image (the QR code logo) was picked from (UUID). Empty when the logo was uploaded directly or there is none. The design keeps its own copy of the image, so the logo survives the media being deleted; this id may then name media that no longer exists.
centralImageSignedUrl
The signed URL for the central image This URL eventually expires
centralImageSize
The size of the central image relative to the QR code (0.0-1.0 proportion)
cornersDotOptions
CornersDotOptions represents the styling options for the dot corners in the QR code
cornersSquareOptions
CornersSquareOptions represents the styling options for the square corners in the QR code
createdAt
When the QR code design was created
dotsOptions
DotsOptions represents the styling options for the dots in the QR code
errorCorrectionLevel
Error correction level forwarded to the QR renderer ("L","M","Q","H")
height
Export height in pixels
hideBackgroundDots
Whether to remove dots behind the central image to improve contrast
id
The unique identifier of the QR code design (UUID)
outputFileFormat
The output file format for the QR code
Allowed values
OUTPUT_FILE_FORMAT_UNSPECIFIEDOutput format not specified (defaults to PNG server-side)
OUTPUT_FILE_FORMAT_SVGScalable Vector Graphics format for infinite resolution
OUTPUT_FILE_FORMAT_PNGPortable Network Graphics format with transparency support
OUTPUT_FILE_FORMAT_JPEGJoint Photographic Experts Group format for compressed images
OUTPUT_FILE_FORMAT_WEBPWebP format for modern web-optimized compression
shape
The shape of the QR code
Allowed values
SHAPE_UNSPECIFIEDShape not specified (defaults to square modules)
SHAPE_SQUARETraditional square modules for QR code data points
SHAPE_CIRCLECircular modules for a rounded visual appearance
updatedAt
When the QR code design was last updated
width
Export width in pixels