Quick Start
SDK Usage
Useclient.create_document() to create a DOCX from markdown:
SDK Method Parameters
SDK Result Fields
How It Works
- Send markdown content with optional track changes markup
- The API converts it to a DOCX file with proper Word formatting
- Track changes tags become native Word revision marks
- The DOCX file is returned as a base64-encoded string
Track Changes Markup
Insertions
Mark inserted text with<ins> tags:
Deletions
Mark deleted text with<del> tags:
Comments
Add comments with<comment> tags:
Parameters
Response
The response follows the standard async pattern — submit, then poll: Initial response:Full Example
A contract with insertions, deletions, and reviewer comments:Use Cases
- Legal document generation — create contracts with tracked revisions
- Contract redlining — mark up agreements with insertions and deletions
- Collaborative review — add reviewer comments to documents
- Document automation — generate Word documents from templates with dynamic content
Next Steps
Track Changes Extraction
Extract track changes from existing Word documents
Document Conversion
Convert documents to markdown, HTML, or JSON
Webhooks
Get notified when document creation completes
Pipelines
Chain processors into versioned, reusable pipelines.