ZPLJetdocs

Quickstart

Convert ZPL to a PDF in one request.

1. Get an API key

Create an account and generate a key in dashboard. Keys look like zpl_… and show once.

2. Send ZPL, get the PDF

POST ZPL to /v1/convert with your key in X-API-Key. Default response is raw PDF and nothing is stored — private by default, every plan.

curl -X POST https://api.zpljet.com/v1/convert \
  -H "X-API-Key: zpl_your_key" \
  -H "Content-Type: application/json" \
  -d '{"zpl":"^XA^FO50,50^A0N,50,50^FDHello^FS^XZ"}' \
  --output label.pdf

3. Or host it and get a URL

On a paid plan, pass "output": "url" to store the file and get a public link. Retention is per-account; set it in dashboard settings (up to plan max).

curl -X POST https://api.zpljet.com/v1/convert \
  -H "X-API-Key: zpl_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "zpl": "^XA^FO50,50^A0N,50,50^FDHello^FS^XZ",
    "output": "url"
  }'

The response is JSON:

{
  "id": "7c9fc824-8d30-4bb9-ba36-03d3bcf574bf",
  "url": "https://files.zpljet.com/…/file.pdf",
  "pages": 1,
  "retentionDays": 7,
  "expiresAt": "2026-07-08T20:09:22.333Z"
}

url is a public link that works until expiresAt, when the file is deleted.

Next: read the API reference for all params, or read authentication. Prefer typed client + retries? Use the official SDKs.