Skip to main content
POST
Render a document from JSON as page images (temporary)

Authorizations

Authorization
string
header
required

Short-lived, Developer-API-audience token obtained by the trusted MCP service through token exchange (mcp_at_...). Raw MCP resource tokens are rejected.

Query Parameters

strict
boolean

Enable strict validation mode (validates anchors, references, citations, abbreviations, and footnotes)

Body

application/json
config
object
required

Complete document JSON following the Autype document schema. Must include document (with type) and sections. May also include variables, defaults, abbreviations, citations, footnotes, and style — all at the same level inside this object. The output format is determined by the document.type field (pdf, docx, or odt). Variable placeholders can use either {{varName}} or ${varName} syntax — both are accepted on input. See the Document JSON Syntax docs for the full schema reference.

Example:
pdfProfile
enum<string>
default:standard

PDF output profile. Only valid for PDF output. PDF/A and PDF/UA profiles flatten interactive form fields to preserve the selected profile.

Available options:
standard,
pdfa-1b,
pdfa-2b,
pdfa-3b,
pdfua-1
webhook
object

Optional webhook configuration. Receives a POST when the job completes or fails.

image
object

Image output options.

Response

Image render job created

jobId
string
required

Render job ID for status polling

status
enum<string>
required
Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
format
enum<string>
required
Available options:
PDF,
DOCX,
ODT,
PNG,
JPEG
creditCost
number
required

Credit cost for this render job

createdAt
string<date-time>
required
downloadUrl
string

Autype API download URL with signed token (only when completed). Supports direct browser download.

filename
string

Filename for download

filloutId
string

Saved record ID when rendering a persistent document with variable values.

error
string

Error message if failed

completedAt
string<date-time>