For the complete documentation index, see llms.txt. This page is also available as Markdown.

intelligent_fill API parameters

Use all of our below options to personalize your AI-powered document creation

API documentation: https://docmaker.co/API

Endpoint URL: https://api.v3.docmaker.co/intelligent_fill

This endpoint accepts every parameter documented on the docx_fill_convert API parameters page, plus the parameters below.

Intelligent-fill-specific parameters:

Parameter
Values enum
Description

"rawText"

Required. The unstructured text that the LLM will parse and map to your template's tags (e.g. an email, meeting notes, a form response).

"userPrompt"

Additional instructions for the LLM on how to interpret the raw text (e.g. "dates are in DD/MM/YYYY format" or "only extract the second invoice mentioned").

"templateID"

ID of the docx template uploaded in your docmaker.co dashboard.

"templateURL"

As an alternative to the templateID, you may provide the full URL of your docx template file. Has to be a public file.

"name"

Name of the result file, has to include the extension (.pdf or .docx)

"outputType"

pdf, docx

Desired output format. PDF templates can only output PDF; docx templates can output either.

"fontSize"

Font size to be used for filled text.

"image_data"

Image data to insert into the template, same as in docx_fill_convert.

Example request:

{
  "name": "invoice.pdf",
  "templateID": "tmpl_abc123",
  "rawText": "Client: John Doe\nAmount: 1500 EUR\nDate: 2026-04-30",
  "outputType": "pdf"
}

As with every docMaker route, the call returns 202 immediately with a jobId. Poll GET /jobs/{jobId} or set a webhook_url to retrieve the result once processing completes.