Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Render → Render From JSON

AI-generated

Summary

Render a document from JSON document definition via Autype API.

Inputs

  • config (required) — Complete document JSON following the Autype document schema. Must include 'document' (with 'type') and 'sections'. Use ${varName} syntax for variable placeholders to avoid conflicts with n8n expressions.
  • strict — Whether to enable strict validation mode (validates anchors, references, citations, abbreviations).
  • waitForCompletion — Whether to wait for the render job to complete before returning.
  • downloadOutput — Whether to automatically download the output file as binary data after completion. Only effective when Wait for Completion is true.
  • additionalFields.webhookUrl — URL to receive a POST notification when the job completes or fails.

Output shape

If Wait for Completion is true and the render job completes successfully, returns the rendered file as binary data with fileName and mimeType. Otherwise returns the render job response as JSON containing jobId and status.

Binary output includes download filename derived from config.document.type (default 'pdf'). The API POST goes to /render with optional qs.strict when strict mode is enabled. Webhook URL, if provided, is sent in the request body for job completion notifications.

Links

Discussion