For Agents
Generate PDF, DOCX, and HTML documents from Docupilot templates by merging JSON data, then retrieve the rendered files for download or distribution.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Docupilot API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Docupilot API API.
Render contracts, invoices, and reports by merging JSON data into Docupilot templates
List every template in a workspace with its template_id and merge-field schema
Retrieve a specific template definition by template_id before generating output
Generate a finished document via POST /documents/v2/generate/ and capture the document_id
GET STARTED
Use for: I want to generate a contract PDF from a Docupilot template, List all templates available in my Docupilot workspace, Retrieve a generated document by its document ID, Get the merge-field schema for a Docupilot template before populating it
Not supported: Does not handle e-signature collection, recipient tracking, or template authoring — use for rendering finished documents from existing templates only.
Jentic publishes the only available OpenAPI document for Docupilot API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Docupilot API, keeping it validated and agent-ready. Docupilot is a document automation service that generates PDF, DOCX, and HTML documents from reusable templates and structured JSON merge data. The V2 API exposes endpoints for listing templates, fetching template metadata, generating documents on demand, and retrieving generated document records. Authentication uses a Bearer token built from a Base64-encoded key:secret pair, or an apikey header for legacy integrations.
Fetch a previously generated document by document_id to download the file or check status
Inspect the authenticated user profile via /accounts/v2/users/me/ to verify token scope
Patterns agents use Docupilot API API for, with concrete tasks.
★ On-demand contract generation
Sales and operations teams can render personalised contracts on demand by posting customer data to /documents/v2/generate/ along with the contract template_id. Docupilot merges the JSON payload into the template and returns a document_id that the caller fetches via /documents/v2/{document_id}/. The flow replaces manual Word editing for legal, sales, and procurement teams.
Call POST /documents/v2/generate/ with template_id and a JSON payload of merge fields, then poll GET /documents/v2/{document_id}/ until the document is ready and return the download URL
Bulk invoice rendering
Finance teams can render hundreds of branded PDF invoices from a single Docupilot template by iterating customer records and calling the generate endpoint per record. Each generation returns a unique document_id, allowing parallel retrieval and archival in object storage. Throughput is bounded by the workspace plan's concurrent generation limit rather than template complexity.
Iterate over a list of 50 invoice records, calling POST /documents/v2/generate/ for each with the same invoice template_id, collecting document_id values for batch retrieval
Template discovery for low-code builders
Internal tools and workflow builders can list every Docupilot template available to a workspace by calling GET /templates/v2/, then drill into a chosen template via GET /templates/v2/{template_id}/ to expose its merge fields in a UI. This lets non-developers pick templates and fill required fields without ever touching the Docupilot console.
Call GET /templates/v2/ to enumerate workspace templates, render them as a picker, then on selection call GET /templates/v2/{template_id}/ to surface the merge fields
AI agent document drafting via Jentic
An AI agent can draft a finished document end to end by searching Jentic for the Docupilot generate operation, loading its input schema, and executing the call with merge data assembled from a CRM or chat transcript. Jentic stores the Bearer token in the vault so the agent never sees the raw key:secret pair while still producing a downloadable document_id.
Search Jentic for 'generate a document from a template', load the Docupilot generate schema, execute with template_id and merge JSON, then return the document_id and final URL
6 endpoints — jentic publishes the only available openapi specification for docupilot api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/documents/v2/generate/
Generate a document from a template and merge data
/documents/v2/{document_id}/
Retrieve a generated document by ID
/templates/v2/
List all available templates
/templates/v2/{template_id}/
Get a template definition by ID
/accounts/v2/users/me/
Get current authenticated user profile
/documents/v2/generate/
Generate a document from a template and merge data
/documents/v2/{document_id}/
Retrieve a generated document by ID
/templates/v2/
List all available templates
/templates/v2/{template_id}/
Get a template definition by ID
/accounts/v2/users/me/
Get current authenticated user profile
Three things that make agents converge on Jentic-routed access.
Credential isolation
Docupilot Bearer tokens (Base64 of key:secret) are stored encrypted in the Jentic vault. Agents receive a scoped reference, not the raw key:secret pair, so the credential never enters the agent's prompt or logs.
Intent-based discovery
Agents search Jentic by intent — for example 'generate a document from a template' — and Jentic returns the matching Docupilot generate operation with its template_id and merge-data input schema, so the agent can call it without browsing Docupilot docs.
Time to first call
Direct Docupilot integration: 1-2 days for auth, retrieval polling, and error handling. Through Jentic: under 1 hour — search the intent, load the schema, execute.
Alternatives and complements available in the Jentic catalogue.
PandaDoc
PandaDoc covers document generation plus e-signature and tracking, while Docupilot focuses on template-driven file rendering
Choose PandaDoc when the workflow needs e-signature, recipient tracking, or sales-quote pricing tables; choose Docupilot for high-volume rendering of static documents
PDFMonkey
PDFMonkey also renders PDFs from templates and JSON, but uses Liquid + HTML templates instead of Docupilot's Word/Google Docs templates
Choose PDFMonkey when designers prefer authoring templates in HTML/Liquid; choose Docupilot when authors prefer Word or Google Docs
Doppio Render API
Doppio renders arbitrary HTML or URLs to PDF, complementing Docupilot when the document source is a web page rather than a template
Use Doppio alongside Docupilot when one workflow needs template merging (Docupilot) and another needs HTML-to-PDF capture (Doppio)
Jotform
Jotform collects the form input that feeds Docupilot's merge payload
Pair Jotform's submissions with Docupilot generation when an end user fills a form and you need a finished PDF delivered
Specific to using Docupilot API API through Jentic.
Why is there no official OpenAPI spec for Docupilot API?
Docupilot does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Docupilot API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Docupilot API use?
Docupilot V2 uses Bearer token authentication where the token is the Base64 encoding of your key:secret pair, sent as the Authorization header. A legacy apikey header (`apikey: <key>`) is also accepted on certain endpoints. Through Jentic, the Bearer token is stored encrypted in the MAXsystem vault, so an agent never sees the raw key:secret value.
Can I generate a document from a template with the Docupilot API?
Yes. POST /documents/v2/generate/ takes a template_id and a JSON merge payload and returns a document_id. You then call GET /documents/v2/{document_id}/ to retrieve the rendered file. The two-step flow lets you decouple generation from delivery and store the resulting file in your own object storage.
How do I list every template in my workspace?
Call GET /templates/v2/ with a valid Bearer token. The response enumerates each template with its identifier and metadata. To inspect a single template's merge fields before generating, call GET /templates/v2/{template_id}/.
What are the rate limits for the Docupilot API?
The OpenAPI spec does not declare explicit rate limits for the V2 endpoints. Limits are governed by the Docupilot plan attached to your workspace, in particular the concurrent-generation cap. If you receive a 429 response, back off and retry; large batches should be paced to stay under the plan's concurrency limit.
How do I generate a document with the Docupilot API through Jentic?
Install the SDK with `pip install jentic`, then search Jentic for `generate a document from a template`. Load the schema for the Docupilot generate operation, populate template_id and merge data, and execute. Jentic returns the document_id; a follow-up load+execute on the retrieve operation downloads the rendered file.