For Agents
Generate PDF documents from reusable templates populated with dynamic data. Manage templates, workspaces, and PDF output through a REST interface.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the PDF Generator 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.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# 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 PDF Generator API.
Generate PDF documents by merging dynamic data into pre-designed templates
Manage document templates with create, copy, and delete operations
Produce PDF output directly from a template with a single API call
GET STARTED
Use for: I need to generate a PDF invoice from a template, I want to list all available document templates, Create a copy of an existing PDF template for a new client, Get the PDF output for a specific template with my data
Not supported: Does not handle HTML-to-PDF conversion, file format conversion, or e-signature — use for template-based PDF generation and template management only.
Jentic publishes the only available OpenAPI specification for PDF Generator API, keeping it validated and agent-ready. PDF Generator API enables programmatic generation of transactional PDF documents from reusable templates. Users design templates using a browser-based drag-and-drop editor, then populate them with dynamic data via the API to produce invoices, contracts, reports, and other documents. The service supports workspace-based organization and template copying for multi-tenant use cases.
Organize templates and access across isolated workspaces
Open the browser-based template editor for visual design via API
Batch-generate PDFs from template collections with merged datasets
Patterns agents use PDF Generator API for, with concrete tasks.
★ Transactional Document Generation
Generate invoices, receipts, and order confirmations by merging transaction data into pre-designed PDF templates. PDF Generator API accepts a template ID and a JSON data payload, then returns a rendered PDF. This approach separates document design from application logic, allowing non-developers to update templates without code changes.
POST to /templates/{templateId}/output with order data JSON to generate a completed invoice PDF
Multi-Tenant Document Management
Organize document templates across workspaces for SaaS platforms serving multiple clients. Each workspace isolates templates and access, enabling white-label document generation where each tenant has their own branded templates without cross-contamination.
GET /workspaces/{workspaceId} to retrieve workspace configuration, then GET /templates to list templates available in that workspace
Contract and Agreement Generation
Produce legal contracts, NDAs, and service agreements from standardized templates populated with party details, dates, and terms. The drag-and-drop editor allows legal teams to maintain templates independently, while the API handles high-volume generation for sales and onboarding workflows.
Copy a template via POST /templates/{templateId}/copy, then generate the contract PDF with party data using POST /templates/{newTemplateId}/output
AI Agent Document Workflow via Jentic
AI agents generate PDF documents as part of automated workflows by calling PDF Generator API through Jentic. The agent discovers template operations via intent search, loads the schema, and executes calls to list templates and generate output without manual API integration or JWT management.
Search Jentic for 'generate PDF from template', load the /templates/{templateId}/output operation, and execute with dynamic data to produce a PDF
11 endpoints — jentic publishes the only available openapi specification for pdf generator api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/templates
List all available templates
/templates/output
Generate PDF from template data without saving
/templates/templateId
Retrieve a specific template by ID
/templates/templateId/copy
Create a copy of an existing template
/templates/templateId/editor
Open the template editor
/templates/templateId/output
Generate PDF output from a specific template
/workspaces/workspaceId
Retrieve workspace details
/templates
List all available templates
/templates/output
Generate PDF from template data without saving
/templates/templateId
Retrieve a specific template by ID
/templates/templateId/copy
Create a copy of an existing template
/templates/templateId/editor
Open the template editor
Three things that make agents converge on Jentic-routed access.
Credential isolation
JWT credentials for PDF Generator API are generated and rotated in the Jentic vault. Agents receive scoped tokens with workspace context — raw API secrets never enter the agent context.
Intent-based discovery
Agents search by intent (e.g., 'generate PDF from template') and Jentic returns matching operations like /templates/{templateId}/output with input schemas, so agents can generate documents without understanding JWT signing.
Time to first call
Direct integration: 2-4 days for JWT implementation, template discovery, and error handling. Through Jentic: under 30 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
PDF Generator API (alternate spec)
Same service with an alternate API specification version
This is the same API with an alternate spec import. Use either spec — they cover identical operations.
Specific to using PDF Generator API through Jentic.
Why is there no official OpenAPI spec for PDF Generator API?
PDF Generator API does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call PDF Generator 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 PDF Generator API use?
PDF Generator API uses JWT (JSON Web Token) bearer authentication. You sign a token with your API secret and workspace identifier, then pass it in the Authorization header. Through Jentic, JWT generation and rotation are handled automatically in the credential vault.
Can I generate a PDF from a template with dynamic data?
Yes. POST to /templates/{templateId}/output with a JSON body containing your data fields. The API merges the data into the template placeholders and returns a rendered PDF document.
How do workspaces work in the PDF Generator API?
Workspaces isolate templates and access for multi-tenant scenarios. Each workspace has its own set of templates. You access workspace details via GET /workspaces/{workspaceId} and templates are scoped to the workspace specified in your JWT.
How do I generate PDFs through Jentic with this API?
Install the SDK with pip install jentic, then search for 'generate PDF from template'. Jentic returns the /templates/{templateId}/output operation schema. Execute with your template ID and data payload. Jentic handles JWT signing and workspace scoping automatically.
Can I copy an existing template to create a variant?
Yes. POST to /templates/{templateId}/copy creates a duplicate of the specified template. You can then modify the copy independently, which is useful for creating client-specific variants from a base template.
/templates/templateId/output
Generate PDF output from a specific template
/workspaces/workspaceId
Retrieve workspace details