Skip to main content
The Autype Developer API lets you generate PDFs, DOCX, and ODT documents at scale. Perfect for automating document workflows, batch processing, and integrating document generation into your applications.

Base URL

https://api.autype.com/api/v1/ext

Key capabilities

Single Rendering

Generate individual documents from JSON with full control over content and styling.

Bulk Rendering

Create up to 100 documents at once from a template with different variable sets.

Temporary Images

Upload images to use in your documents. Images are stored for 24 hours.

Template Variables

Use {{variables}} for dynamic content substitution.

Token costs

Operations consume tokens from your organization’s balance. Tokens are only charged on successful completion.
OperationToken Cost
Image Upload100 tokens
Single Render500 tokens
Bulk Render400 tokens per item

Quick example

curl -X POST "https://api.autype.com/api/v1/ext/render" \
  -H "X-API-Key: ak_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "PDF",
    "document": {
      "document": { "type": "pdf", "size": "A4" },
      "sections": [{
        "id": "main",
        "type": "flow",
        "content": [
          { "type": "h1", "text": "Hello, {{name}}!" }
        ]
      }],
      "variables": { "name": "World" }
    }
  }'

Next steps