Synchronous document generation
post
Authorizations
X-Api-KeystringRequired
Body
formatstringOptionalDefault:
Output format (currently only 'docx' supported)
docxwebhookUrlstring · uri · min: 1 · max: 2083 · nullableOptionalDefault:
Completion webhook URL (must be HTTPS)
nullResponses
200
The generated document itself, returned as application/vnd.openxmlformats-officedocument.wordprocessingml.document with Content-Disposition: attachment; filename="document.docx". This response is a binary file, not JSON — write the body to disk rather than parsing it.
No content
400
The request body is missing or invalid.
401
Authentication required — the X-Api-Key header is missing or invalid.
post/generate/sync
No content
Last updated

