Submit a document JSON for rendering to PDF, DOCX, or ODT. This is a temporary render — the document JSON is not persisted and the render output expires. No document is created in your Autype workspace. Use POST /render/document/ to render a persistent document instead. Returns a job ID for status polling. Credits are charged on successful completion.
API Key (starts with ak_...)
Enable strict validation mode (validates anchors, references, citations, abbreviations)
Complete document JSON following the Autype document schema. Must include document (with type) and sections. May also include variables, defaults, abbreviations, citations, 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.
{
"document": { "type": "pdf", "size": "A4" },
"variables": { "companyName": "Acme Inc" },
"sections": [
{
"id": "section-1",
"type": "flow",
"content": [
{
"type": "h1",
"text": "Hello {{companyName}}"
},
{
"type": "text",
"text": "This is a paragraph."
}
]
}
]
}Optional webhook configuration. Receives a POST when the job completes or fails.
Render job created
Render job ID for status polling
PENDING, PROCESSING, COMPLETED, FAILED PDF, DOCX, ODT Credit cost for this render job
Autype API download URL with signed token (only when completed). Supports direct browser download.
Filename for download
Error message if failed