Planned — Document generation endpoints are being added to the v1 API. See the Roadmap for overall API direction.
Key Concepts
- Form template — a DOCX file containing smart tags (placeholders) that get resolved against entity data
- Smart tags — placeholder tokens in a template that map to configured fields. Every field you define in your configuration automatically gets a smart tag
- Document generation — the process of resolving all smart tags in a template against a quote or policy, producing a final PDF
Planned Endpoints
Template Management
Quote Documents
Policy Documents
Workflow
- Upload a template — upload a DOCX file containing smart tags to
POST /v1/form-templates - Inspect smart tags — call
GET /v1/form-templates/{templateId}/smart-tagsto see which tags the system found in your template - Generate a document — call the generate endpoint for a quote or policy. The system resolves all smart tags against the entity data and produces a PDF
- Download the result — retrieve the generated PDF via the document download endpoint
Smart Tags
Every field you define in your configuration automatically gets a corresponding smart tag. When you add a field (e.g.,insuredName), its smart tag becomes immediately available for use in templates. The smart tags endpoint on a template lets you verify that all tags in your template map to configured fields.
A dedicated configuration endpoint will also be available for listing all smart tags across your company, independent of any specific template:
Related Resources
- Configuration API — define the fields that power smart tags
- Quotes API — create quotes to generate documents for
- Policy API — generate documents for bound policies
- Roadmap — overall API direction
