Get All Label Templates
GET
/v1/label-templates
const url = 'https://example.com/api/v1/label-templates';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 \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
createdAt
string
description
string
height
number
id
string
isOwner
boolean
isShared
boolean
name
string
preset
string
sheetLayout
SheetLayout is the template’s own page layout, null when it follows the preset
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
updatedAt
string
width
number
Examplegenerated
[ { "createdAt": "example", "description": "example", "height": 1, "id": "example", "isOwner": true, "isShared": true, "name": "example", "preset": "example", "sheetLayout": { "columns": 1, "gutterH": 1, "gutterV": 1, "marginLeft": 1, "marginTop": 1, "pageHeight": 1, "pageWidth": 1, "rows": 1 }, "updatedAt": "example", "width": 1 }]