Get Label Template
GET
/v1/label-templates/{id}
const url = 'https://example.com/api/v1/label-templates/example';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/example \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Template ID
Responses
Section titled “Responses”OK
Media typeapplication/json
object
canvasData
object
key
additional properties
any
createdAt
string
description
string
dpi
integer
height
number
id
string
isOwner
boolean
isShared
boolean
name
string
offsetX
number
offsetY
number
outputFormat
string
ownerId
string
preset
string
sheetLayout
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
{ "canvasData": {}, "createdAt": "example", "description": "example", "dpi": 1, "height": 1, "id": "example", "isOwner": true, "isShared": true, "name": "example", "offsetX": 1, "offsetY": 1, "outputFormat": "example", "ownerId": "example", "preset": "example", "sheetLayout": { "columns": 1, "gutterH": 1, "gutterV": 1, "marginLeft": 1, "marginTop": 1, "pageHeight": 1, "pageWidth": 1, "rows": 1 }, "updatedAt": "example", "width": 1}