Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Media / Html2PDF API
Html2PDF API logo

Html2pdf App Html2PDF API

Agent-ready OpenAPI document · curated by JenticMediaContent DeliveryapiKey5 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Convert HTML strings or web URLs into PDF documents synchronously or asynchronously, then poll job status and check account usage.

Use for: I need to convert an HTML invoice into a PDF, Generate a PDF from a public web page URL, Queue a long PDF render asynchronously and check it later, Check the status of a pending PDF generation job

Not supported: Does not handle PDF parsing, OCR, form filling, or e-signature workflows - use for generating PDFs from HTML or URLs only.

Jentic publishes the only available OpenAPI specification for Html2PDF API, keeping it validated and agent-ready. Html2PDF is a hosted service that converts raw HTML markup or live URLs into PDF documents using a headless browser rendering engine. The API supports both synchronous and asynchronous generation, custom page sizes, headers and footers, and account inspection for usage tracking. It is designed for applications that need to generate invoices, reports, certificates, or web archives without running a Chromium pipeline themselves.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Html2PDF API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Html2PDF 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.

1

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%2Fhtml2pdf.app%2Fhtml2pdf" | sh
2

Step 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%2Fhtml2pdf.app%2Fhtml2pdf" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic 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.

Capabilities

What an agent can do with Html2PDF API.

Render an inline HTML string into a PDF document with a single POST to /v1/generate

Convert a live URL into a PDF using the dedicated /v1/generate/url endpoint

Queue large or slow renders asynchronously through /v1/generate/async and reclaim the result later

Poll the status of an async PDF job by jobId via /v1/status/{jobId}

Inspect remaining quota, plan tier, and usage on /v1/account before triggering bulk renders

Use Cases

Patterns agents use Html2PDF API for, with concrete tasks.

★ Generate Invoice PDFs from HTML Templates

Render branded invoice PDFs from server-side HTML templates after each checkout or billing event. Html2PDF accepts the inline HTML string, applies the requested page format, and returns the PDF binary in a single call to /v1/generate. Integration takes under an hour because there is no headless Chromium fleet to operate.

POST an HTML invoice template with totals and line items to /v1/generate using format A4 and return the resulting PDF URL or binary.

Archive Web Pages as PDF Snapshots

Capture full-page PDF snapshots of public URLs for compliance archives, content moderation evidence, or report distribution. /v1/generate/url accepts the target URL and renders the page exactly as a real browser would, including web fonts and JavaScript-rendered content.

Call /v1/generate/url with the URL of yesterday's status page and store the returned PDF in object storage with the date as the filename.

Bulk Async PDF Rendering for Reports

Generate hundreds of monthly statement PDFs without blocking on each render by submitting jobs to /v1/generate/async and polling /v1/status/{jobId}. This pattern keeps the calling agent or worker free while the rendering fleet processes the queue.

Submit 50 monthly statements to /v1/generate/async, then poll /v1/status/{jobId} every 10 seconds until each job completes.

AI Agent PDF Generation via Jentic

An AI agent receives a user request like generate a PDF from this report HTML and uses Jentic to discover and call the Html2PDF endpoint without browsing docs. Jentic returns the input schema, validates the API key from the vault, and executes the call.

Search Jentic for generate a pdf from html, load the Html2PDF /v1/generate operation, and execute it with the user-supplied HTML body.

Key Endpoints

5 endpoints — jentic publishes the only available openapi specification for html2pdf api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

POST

/v1/generate

Generate PDF from HTML or URL

POST

/v1/generate/url

Generate PDF from URL

POST

/v1/generate/async

Queue an async PDF render

GET

/v1/status/{jobId}

Get the status of an async job

GET

/v1/account

Inspect account quota and plan

POST

/v1/generate

Generate PDF from HTML or URL

POST

/v1/generate/url

Generate PDF from URL

POST

/v1/generate/async

Queue an async PDF render

GET

/v1/status/{jobId}

Get the status of an async job

GET

/v1/account

Inspect account quota and plan

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring Html2PDF by hand means setting up its Authentication header key, keeping the api.html2pdf.app host straight across the sync, async, and status endpoints, and handling errors yourself. Through Jentic you install once, import the Html2PDF API from the API Directory, store the key once, and your agent calls it.

Permission scoping

Permission scoping

Html2PDF takes the HTML or URL in the request body, so scope your agent to the operations it needs, such as generating a PDF from HTML or checking a job status. You choose which calls are in the allowed set, so operations like the async generate are excluded unless you add them.

Credential management

Credential isolation

Your Html2PDF API key is stored once, encrypted, by your own Jentic One instance and injected into the Authentication header at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'generate a PDF from HTML' or 'render a URL to PDF', and Jentic returns the matching Html2PDF operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

PDF.co API

→

Broader PDF toolkit including OCR, splitting, and form filling beyond simple HTML rendering

Choose PDF.co when the workflow needs PDF parsing, OCR, or merging in addition to HTML-to-PDF conversion.

Alternative

CloudConvert API

→

Generic file conversion across 200+ formats with HTML-to-PDF as one of many jobs

Choose CloudConvert when the same agent also needs DOCX, image, or video conversions.

Complementary

Filestack API

→

Upload and host the resulting PDFs after Html2PDF generates them

Pair with Filestack when the generated PDF needs durable hosting and CDN delivery rather than ephemeral download URLs.

FAQs

Specific to using Html2PDF API through Jentic.

Why is there no official OpenAPI spec for Html2PDF API?

Html2PDF.app does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Html2PDF API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Html2PDF API use?

The Html2PDF API uses an API key passed in the Authentication header in the format Token <api-key>. Through Jentic, the key is held in the encrypted vault and never enters the agent context - Jentic injects it at execution time.

Can I generate a PDF from a URL with the Html2PDF API?

Yes. POST the target URL to /v1/generate/url and the service renders the live page with a headless browser, returning the PDF binary or a hosted URL depending on the request mode.

What are the rate limits for the Html2PDF API?

Limits depend on the plan tier attached to your API key. Call GET /v1/account to inspect remaining quota and plan details before launching a bulk render so the agent does not exhaust credits mid-job.

How do I generate a PDF asynchronously through Jentic?

Search Jentic for generate a pdf from html, load the /v1/generate/async operation, execute it with the HTML body, then poll /v1/status/{jobId} until the job state becomes complete and download the result.

Is the Html2PDF API free?

Html2PDF.app offers a free tier with a monthly request quota and paid plans for higher volumes. Check current quota at /v1/account before bulk runs.

Can I limit what my agent is allowed to do with the Html2PDF API?

Yes. Because you run Jentic One yourself, your own rules decide which Html2PDF operations and credentials your agent may use, so you can add only the calls it needs, such as generating a PDF from HTML at /v1/generate or checking a job with /v1/status/{jobId}. Operations you do not include, like the async render at /v1/generate/async or account inspection at /v1/account, stay outside the agent's allowed set until you add them. The stored API key is injected at execution time and never enters the agent's prompt or logs.

GET STARTED

Start building with Html2PDF API

Explore with Jentic One
View OpenAPI Document