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
Body
application/json
The request body, discriminated by the 'type' field ('document' or 'pdf').
Response
202
application/json
Default Response
The response is of type object
.