- Generate a standalone PDF — produce a filled document without a signing workflow.
- Send as a signature request — use the template as the document in a signature request via the
/signature_request/send-from-templateendpoint.
Tags and field names use
object.field naming conventions (for example:
Client.Name, Effective.Date, Customer.AgreeToTerms).Placeholder types
1
List your templates
Call Note the
GET /templates to see the templates available in your workspace. Provide the X-Lumin-API-Version: 1.1 header and the required page and limit query parameters.template_id — the prefix tells you the template type:2
Get template details
Call Supply values for every item where
GET /templates/{template_id} to inspect the specific tags, fields, and variables the template expects. Use this to know exactly what keys to include when you generate the document.is_required: true. Optional fields can be omitted.3
Generate the PDF
Call JSON response (
POST /templates/{template_id}/generate-document with the values for your tags, fields, and/or variables.Accept: application/json):signed_url is a pre-signed HTTPS download link that expires in 30 minutes (expires_at is a Unix timestamp in seconds).PDF binary response (Accept: application/pdf):When you set Accept: application/pdf, the API returns the raw PDF binary stream instead of JSON. Use this to stream the file directly without a separate download step.