Powerful API for Document Generation

Empower your applications with automated document generation. Use WordFields REST API in your applications and save time generating Word documents.

POST https://api.wordfields.com/v1.0/templates/{id}/documents
Content-Type: application/json
{
  "data": {
    "Client": {
      "name": "Client Corp.",
      "address": "One Company Way 15"
    },
    "Payment": 150.36,
    "ServiceDate": "2024-06-15",
    "ServiceClause": "The Service Provider shall ..."
  }
}

How It Works

Getting started with the WordFields API takes just three steps.

1. Design a template - mark merge fields in your existing Word, Excel, or HTML templates to indicate the parts that should change between documents.

2. Make it dynamic - set data types for each merge field, write expressions to generate dynamic content, and configure output formats.

3. Generate documents - call the REST API, pass your data to a pre-configured template, and receive the generated document in response.


Secure REST API

The WordFields API uses API key authentication. You can view and manage your keys from the Admin Dashboard.

All requests are transmitted over HTTPS to keep your data secure. Since API keys grant access to your workspace, treat them like passwords never expose them in client-side code or public repositories.


Next Steps