Base URL
Key capabilities
Persistent Documents
Create and manage documents that are saved in your Autype workspace — visible in the app and editable by your team.
Document Rendering
Render persistent documents or ad-hoc JSON/Markdown to PDF, DOCX, or ODT.
Bulk Rendering
Create up to 100 documents at once from a template with different variable sets.
Template Variables
Use
{{variables}} or ${variables} for dynamic content substitution.PDF Tools
Merge, split, rotate, watermark, and extract metadata from PDFs.
Persistent vs. temporary resources
The API works with two types of resources. Understanding the difference is important:Persistent resources (visible in the Autype app)
Temporary resources (API-only, not visible in the app)
Images in documents
How you handle images depends on whether you’re working with persistent or temporary resources:Persistent documents with images
When creating a persistent document viaPOST /documents, you can embed images using the following workflow:
- Upload images via
POST /images/upload— you receive/temp-image/{id}reference paths. - Create the document via
POST /documentswith the/temp-image/{id}paths in your document JSON. - Automatic conversion — the API detects all
/temp-image/{id}references in the document content, copies them to permanent storage, and replaces the paths with/image/{assetId}. The resulting document contains only permanent image references.
The conversion happens transparently. The temporary images remain available for their 24-hour lifetime, but the document itself now references permanent copies that will not expire.
Temporary renders with images
For ad-hoc renders (POST /render, POST /render/markdown), use POST /images/upload to upload temporary images and reference them as /temp-image/{id} in your document JSON. These images are valid for 24 hours and are resolved at render time.
External URLs
You can also use fullhttps:// URLs for images in any context — both persistent documents and temporary renders. External URLs are fetched at render time.
Credit costs
Operations consume credits from your organization’s balance. Credits are only charged on successful completion.Quick example
Render a persistent document:Next steps
Authentication
Learn how to authenticate your API requests.
Rate Limits
Understand usage limits and quotas.
OpenAPI Specification
Download the full OpenAPI 3.0 spec as JSON — for code generation, Postman import, or AI context.
