Integrations / REST API

REST API

API Icon

Want to work with Documint on your terms? Integrate Documint right into your application with our REST API.

Generate a Custom API Key

Easy to follow documentation and guides.

Build a template

Choose the perfect template or create a new one from scratch.

Merge your data

Every time the trigger fires, your data will be merged into the selected template.

FAQ

More questions? Talk to us

How do you generate PDFs programmatically using the Documint REST API?
You generate PDFs programmatically with Documint by sending an HTTP POST request to the Documint REST API endpoint with your template ID, API key, and a JSON object containing dynamic data variables. Documint processes the template, merges the payload, and returns a public URL or stream to the generated PDF within seconds. Key Technical Details: - Authentication: Header-based authorization using your private Documint API key generated in Integration Settings. - Payload Structure: Accepts structured JSON containing simple text values, nested object arrays for line items, dates, and dynamic image URLs. - Response Format: Returns a JSON response including the minted document URL, creation timestamp, and document ID.
What data formats and payload structures are supported by the Documint API?
The Documint REST API natively supports standard JSON payloads. It handles primitive data types (strings, numbers, booleans) alongside complex nested structures, including arrays for repeating line items, multi-page document loops, raw Markdown text, and mathematical expressions using internal functions like $calc. Supported Data Types: - Line Items & Arrays: Use Handlebars-style loop tags ({{#each items}}) to dynamically build data tables. - Rich Text & Formatting: Native support for Markdown rendering, custom currency symbols, and localized date/time strings. - Conditional Logic: Evaluate field rules directly inside templates using Display Rules based on payload values.
Can I embed Documint’s template builder and PDF engine into my own SaaS application?
Yes, Documint provides Documint Embed, an embedded document generation solution that allows SaaS platforms and custom applications to run Documint’s visual template builder and rendering engine directly inside their own user interface. Implementation Benefits: - White-Label / Native Experience: Provide end-users with dynamic document creation tools directly inside your app. - No-Code Template Customization: End-users can adjust document layouts and field mappings without requiring engineering deployment cycles. - Flexible Deployment: Available for standard SaaS hosting with enterprise options for dedicated data routing.
Does Documint include built-in e-signatures?
Yes, document automation with native e-signatures is a core feature of Documint. Unlike Docupilot, which requires you to integrate and pay for external third-party e-signature software, Documint allows you to automatically generate, send, and securely sign contracts and agreements within a single, unified platform.
Is there a free trial?
Yes — every new account gets a 14-day free trial with full access to all features.
Do you offer enterprise support?
Yes — enterprise plans include dedicated support, SSO, audit logs, and custom SLAs.