Skip to main content
POST
Render a persistent document

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.

Path Parameters

documentId
string
required

ID of the persistent document to render

Body

application/json
variables
object

Variable overrides (merged with variables defined in the document)

Example:
format
enum<string>

Override the output format. If omitted, uses the format from the document JSON (document.type field).

Available options:
pdf,
docx,
odt,
png,
jpeg
image
object

Image output options for returning PNG/JPEG document pages.

pdfProfile
enum<string>
default:standard

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

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.

Response

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>