For Agents
Generate PDFs and images from HTML or templates, capture screenshots, write to and merge PDFs, encrypt documents, and check account usage with Docamatic.
Use for: Generate a PDF invoice from an HTML template, I need to capture a screenshot of a web page, Merge several PDFs into one file, Add a QR code to an existing PDF
Not supported: Does not handle OCR, e-signatures, or data extraction. Use for generating and manipulating PDFs, images, and screenshots only.
The Docamatic API generates PDFs and images from URLs, raw HTML, or reusable templates, and manipulates existing files. It writes text, images, QR codes, and barcodes onto a PDF, merges several PDFs into one, and password-protects a document. Account operations list stored documents and templates and report usage for the current billing period.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Docamatic 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://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdocamatic.com%2Fdocamatic" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fdocamatic.com%2Fdocamatic" | 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 Docamatic API.
Generate a PDF from a URL or raw HTML
Generate a PDF or image from a reusable template
Capture a screenshot or image of a URL or HTML page
Write text, images, QR codes, and barcodes onto an existing PDF
Merge multiple PDFs into one document and password-protect a PDF
List stored documents and templates and check account credits
Patterns agents use Docamatic API for, with concrete tasks.
★ Agent-Generated Documents
An AI agent connected through Jentic renders an invoice or report by posting HTML or a template to Docamatic and receiving a finished PDF. The API returns the generated file, and Jentic injects the bearer token at call time so the agent never holds the key.
Generate a PDF from an HTML invoice template with customer values filled in and return the file URL
Screenshots and Images
Teams that need web-page snapshots or generated images capture them on demand. The Docamatic API renders a screenshot or image from a URL or HTML, so an agent can produce a visual for a report or a thumbnail for a listing.
Capture a full-page screenshot of a URL and return the image
PDF Assembly and Protection
Document workflows often need several files combined, annotated, and secured. The Docamatic API writes text, images, QR codes, and barcodes onto a PDF, merges multiple PDFs into one, and password-protects the result.
Merge three PDFs into one document, add a QR code to the first page, and encrypt the file with a password
12 endpoints — the docamatic api generates pdfs and images from urls, raw html, or reusable templates, and manipulates existing files.
METHOD
PATH
DESCRIPTION
Generate a PDF from URL or HTML
/template
Generate a PDF or image from a template
/image
Generate an image or screenshot from URL or HTML
/write
Write text, images, QR codes, and barcodes to a PDF
/merge
Merge multiple PDFs into one document
/encrypt
Password-protect an existing PDF
/credits
Get the usage summary for the current period
/templates
List templates available to the user
Generate a PDF from URL or HTML
/template
Generate a PDF or image from a template
/image
Generate an image or screenshot from URL or HTML
/write
Write text, images, QR codes, and barcodes to a PDF
/merge
Merge multiple PDFs into one document
/encrypt
Password-protect an existing PDF
/credits
Get the usage summary for the current period
/templates
List templates available to the user
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring Docamatic by hand means managing its bearer-token API key, posting HTML or template payloads, and polling for generated files yourself. Through Jentic you install once, import Docamatic from the API Directory, store the token once, and your agent calls it.
Permission scoping
Docamatic takes its inputs in the request body rather than the URL path, so rules bound which operations your agent may call. Limit the agent to the operations it needs, such as generating PDFs and images, so destructive operations like deleting a stored document are not included unless you add them.
Credential isolation
Your Docamatic token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'generate a PDF from HTML' or 'take a screenshot', and Jentic returns the matching Docamatic operation with its input schema so the agent calls the right endpoint directly.
Alternatives and complements available in the Jentic catalogue.
Specific to using Docamatic API through Jentic.
What authentication does the Docamatic API use?
The Docamatic API authenticates with a bearer token, which is your Docamatic API key sent in the Authorization header per its OpenAPI spec. Through Jentic the token is stored encrypted by your own Jentic One instance and injected at execution time, so it never enters the agent's prompt or logs.
Can I generate PDFs and images with the Docamatic API?
Yes. The API generates a PDF or image from a URL, raw HTML, or a reusable template, and captures screenshots. It also writes text, images, QR codes, and barcodes onto an existing PDF, merges PDFs, and password-protects a document.
Is there a Docamatic MCP server?
You don't need an MCP server to give your agent the Docamatic API. Jentic connects it directly from the API Directory: import it, store your token once, and your agent calls the generation and PDF operations. Operations load on demand, so your agent's context stays lean instead of holding another server's tool definitions.
Can I limit what my agent is allowed to do with the Docamatic API?
Yes. Write a rule that allows only the generate operations, such as creating a PDF or image, so the agent can produce documents but cannot delete stored files or merge and encrypt them. Every call the agent makes is logged.
What are the rate limits for the Docamatic API?
The OpenAPI spec does not specify rate limits; usage is drawn from the account credits reported by the credits endpoint. Check the Docamatic documentation at https://docamatic.com for current limits and credit pricing before running a large batch.
How do I generate a PDF with the Docamatic API through Jentic?
Search Jentic for an intent like 'generate a PDF from HTML', add the Docamatic API from the directory, and store your token once. Your agent then posts the HTML or template and receives the finished file. To run it on your own infrastructure, install Jentic One from its GitHub repo.
GET STARTED