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.
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.
The request body, discriminated by the 'type' field ('document' or 'pdf').
Default Response
The ID to track the asynchronous document generation task.