Get Label Size Presets
GET
/v1/label-templates/presets
const url = 'https://example.com/api/v1/label-templates/presets';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/label-templates/presets \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
brand
string
continuous
Whether this is continuous tape
boolean
description
string
height
Height in mm
number
key
string
name
string
sheetLayout
Sheet layout information (for Avery-style sheet labels) If SheetLayout is set, labels are arranged on a printable sheet
object
columns
Number of labels across
integer
gutterH
Horizontal gap between labels in mm
number
gutterV
Vertical gap between labels in mm
number
marginLeft
Left margin in mm
number
marginTop
Top margin in mm
number
pageHeight
Sheet height in mm (e.g., 279.4 for Letter, 297 for A4)
number
pageWidth
Sheet width in mm (e.g., 215.9 for Letter, 210 for A4)
number
rows
Number of labels down
integer
twoColor
Whether this supports two-color printing (black/red)
boolean
width
Width in mm
number
Examplegenerated
[ { "brand": "example", "continuous": true, "description": "example", "height": 1, "key": "example", "name": "example", "sheetLayout": { "columns": 1, "gutterH": 1, "gutterV": 1, "marginLeft": 1, "marginTop": 1, "pageHeight": 1, "pageWidth": 1, "rows": 1 }, "twoColor": true, "width": 1 }]