Autype icon

Autype

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

Document Tool → Convert to PDF

AI-generated

Summary

Convert a DOCX or ODT file to PDF via Autype Document Tools.

Inputs

  • convertFileId (required) — ID of the DOCX or ODT file to convert. The input format is detected automatically. Use File > Upload to get a file ID.
  • outputFormat — Output format for the converted document. Defaults to PDF. Options: PDF, DOCX, ODT.
  • waitForCompletion — Whether to wait for the tool job to complete before returning. Defaults to true.
  • downloadOutput — Whether to automatically download the output file as binary data after completion. Requires waitForCompletion to be true.

Output shape

Returns the tool job response as JSON. If downloadOutput is true and the job completes successfully, returns binary data (file content with filename and mimeType) instead.

Binary output includes fileName, mimeType, and binary data payload.

Examples

Example 1: Convert a DOCX file to PDF and wait for completion.

set convertFileId to the uploaded DOCX file ID, leave outputFormat as default (pdf), keep waitForCompletion as true

Links

Discussion