Liquid Templater API Automate DOCX Document Creation

Transform your JSON data into professional Word documents using Liquid templates. Built for developers who need reliable document generation without the complexity.

How It Works

Send your structured data and a Liquid template to our API, get back a fully formatted DOCX file. The same template can generate PDFs, emails, or Word documents - just change the output type.

bash

curl --request POST \
  --url https://dash.liquidtemplater.com/items/template_request \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'content-type: application/json' \
  --data '{
    "data": {
      "contract": {
        "client_name": "Acme Corp",
        "project": "Website Redesign",
        "start_date": "2025-07-01",
        "value": 15000
      }
    },
    "template": "<h1>Service Agreement</h1><p>Client: {{ contract.client_name }}</p>...",
    "type": "docx"
  }'

The API returns a request ID. Poll the status endpoint to get your download URL when processing completes (typically within 10 seconds).

Template Syntax

Uses standard Liquid templating - the same syntax Shopify uses. If you know Liquid, you're already ready to build templates.

liquid

# Invoice Template Example
Invoice #{{ invoice.number }}
Date: {{ invoice.date }}

{% for item in invoice.items %}
- {{ item.name }}: ${{ item.price }}
{% endfor %}

Total: ${{ invoice.total }}

Real-World Applications

Contract Generation: Populate service agreements, NDAs, and proposals with client data from your CRM. See contract automation examples.

Report Creation: Transform database queries into formatted reports with charts and tables. View report templates.

Certificate Production: Generate training certificates, completion awards, or compliance documents at scale. Browse certificate examples.

Invoice Processing: Convert order data into professional invoices with your branding. Check invoice templates.

Getting Started

Grab an API key from your dashboard, test your first template in the interactive demo, then integrate with our complete API documentation.

The getting started guide walks through your first request with working code examples.

Storage and Security

Generated documents live on GDPR-compliant servers in Germany for 7 days. Download what you need, then they're automatically purged. No long-term storage complexity on your end.

Framework Agnostic

Works with any backend that can make HTTP requests. Python, Node.js, PHP, .NET - doesn't matter. Just POST your data and template, get back a document URL.

Pricing That Scales

Start with 100 free renders monthly for testing. Pro plan includes 10,000 renders at €55/month with overflow pricing. View all pricing options.

Enterprise customers get unlimited renders, dedicated infrastructure, and on-premise deployment options.

Documentation

Full API Reference | Template Syntax Guide | Getting Started

Try the Demo | Contact Support

Learn how to get startedInteractive demo