Python
Document
Generate document from template (async)
Initiates an asynchronous process to generate a document from a template slug and relevant data (documentBody for document, variables for PDF). Returns an ID for tracking.
POST
Python
Body
application/json
The request body, discriminated by the 'type' field ('document' or 'pdf').
Response
Default Response
The ID to track the asynchronous document generation task.