API Integration

Automating label generation for developers

API Integration

Beta Access: The API is currently in closed beta. Contact support to request an API key.

Overview

The SheetsToLabels API allows you to programmatically generate PDF labels from your own application (e.g., a custom CRM or ERP system).

Endpoint

POST https://api.sheetstolabels.com/v1/generate

Payload

{
  "template_id": "tpl_12345abcdef",
  "data": [
    { "Name": "Alice", "Role": "Admin" },
    { "Name": "Bob", "Role": "User" }
  ],
  "options": {
    "paper_size": "letter"
  }
}

Response

Returns a JSON object containing a temporary download URL for the generated PDF.

{
  "status": "success",
  "url": "https://download.sheetstolabels.com/files/gen_789.pdf",
  "expires_in": 3600
}

Use Cases

  • E-commerce: Automatically email a return shipping label pdf to a customer when they request a return.
  • Event Ticketing: Generate a printable badge PDF immediately upon ticket purchase.