API Playground
Generate a real watermarked PDF without an API key
Use the public sandbox to test the same server-side PDF engine used by the Business API. No account or API key is required. Choose Label Sheet to arrange several product records on one page, or QR Card to generate one personalized card.
Fixed demo Print Layout
- Layout type
- Preset
- Preset ID
- avery-5160-compatible
- Paper
- US Letter (215.9 x 279.4 mm)
- Label size
- 66.675 x 25.4 mm
- Sheet layout
- 10 rows x 3 columns
- Gaps
- X 3.969 / Y 0 mm
- Top / bottom
- 12.7 mm margins
- Left / right
- 3.969 / 3.968 mm
Product records
3 records expand to 6 labels on one US Letter sheet.
6 labels arranged on an Avery 5160-compatible sheet.
Edit the records, then generate the server-side PDF.
curl -X POST https://sheetstolabels.com/api/v1/demo/generate-pdf \
-H "Content-Type: application/json" \
-d '{"templateId":"api-demo-product-label-sheet","layout":{"type":"preset","presetId":"avery-5160-compatible"},"records":[{"variables":{"name":"Wireless Mouse","sku":"SKU-1001","price":"$24.00"},"copies":2},{"variables":{"name":"USB-C Cable","sku":"SKU-1002","price":"$12.50"},"copies":1},{"variables":{"name":"Laptop Stand","sku":"SKU-1003","price":"$39.00"},"copies":3}]}' \
--output api-demo.pdfThe Playground uses the same templateId, required layout, records[].variables, and optional records[].copies request shape as the authenticated API. It exposes two fixed public designs and two layout modes:
| Mode | Fixed demo Print Layout | Request and output |
|---|---|---|
| Label Sheet | Avery 5160-compatible; US Letter; 66.675 x 25.4 mm labels; 10 rows x 3 columns; 3.969 mm horizontal gap; preset margins | Up to 3 source records and 6 expanded labels on 1 page |
| QR Card | Single label/card; custom 102 x 76 mm page; 1 row x 1 column; zero gaps and margins | Exactly 1 record and 1 PDF page |
The Label Sheet request sends layout.type: "preset" with presetId: "avery-5160-compatible". The QR Card request sends layout.type: "single", so the card's template dimensions become the PDF page size. Production requests can also use a complete manual layout with paper, rows, columns, margins, and gaps. Layout settings apply only to the current request and do not modify a saved template.
The generated one-page PDF includes a visible demo watermark and does not load external images or access your saved templates. Each visitor can make up to 3 requests per minute and 10 requests per day.
The Label Sheet is an Avery 5160-compatible US Letter demonstration. SheetsToLabels is not affiliated with Avery Products Corporation.
To test your own cloud template and the authenticated workflow, sign in and start the one-time 7-day API trial from API Key Settings. The trial includes 10 successful single-page requests and does not consume Credits.
When you are ready to integrate, continue with the API Quick Start.