Preview a template
POST https://api.signapi.lumin.example/v1/templates/{templateId}/preview
Renders a template to PDF with sample data and returns a one-hour download link.
This endpoint is a Sign API extension. SignatureAPI has no equivalent.
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
templateId |
string | Yes | The unique identifier of a template. A stored template (tpl_…) in this account and mode. Pattern ^tpl_[0-9A-Za-z]{22}$. Sign API extension. |
Request body
Content type application/json.
Body: Template.PreviewInput.
Responses
200
Body: Template.Preview.
422
The request failed validation. The problem body lists each problem in errors.
4xx
A client error, as an application/problem+json body. Its type links to the error page for the code.
5xx
A server error, as an application/problem+json body. Retry with backoff.