Replace tags in a DOCX or ODT document with provided values. Supports text, images, lists, and tables. Output format is configurable.
API Key (starts with ak_...)
File ID of the DOCX or ODT file with placeholders
"550e8400-e29b-41d4-a716-446655440000"
Map of placeholder names to values. Use string for text, or an object with type for images/lists/tables. Placeholders in the document use {{name}} or ${name} syntax.
{
"name": "John Doe",
"company": "Acme Inc."
}Output format. Default: same as input format. Use "pdf" to get a PDF output.
pdf, docx, odt "pdf"
Optional webhook configuration
Placeholder replacement job created
Job ID
"550e8400-e29b-41d4-a716-446655440000"
Action that was performed
"pdf.merge"
Current job status
PENDING, PROCESSING, COMPLETED, FAILED "PENDING"
Input file IDs
["file-id-1", "file-id-2"]Output file ID (available when COMPLETED)
null
Error message (available when FAILED)
null
Job creation timestamp
Job start timestamp
Job completion timestamp
Additional metadata (e.g. PDF metadata result)