Skip to main content
POST
Render ZPL label

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
zpl
string
required

ZPL source code to render

dpmm
enum<string>
default:8dpmm

Dots per millimeter resolution

Available options:
6dpmm,
8dpmm,
12dpmm,
24dpmm
width
number
default:4

Label width in inches

Required range: 0.1 <= x <= 15
height
number
default:6

Label height in inches

Required range: 0.1 <= x <= 15
format
enum<string>
default:png

Output format

Available options:
png,
pdf
index
integer

Label index in ZPL (for multi-label ZPL)

Required range: x >= 0

Response

Rendered label image or PDF

The response is of type file.