Turn any URL or HTML
into a production PDF.

Batch conversion, configurable output, credit-based billing. Two API calls and you're done.

25 free credits. No credit card required.

# Convert a URL to PDF in two requests
curl -X POST https://docuqueue.com/api/v1/convert \
  -H "api-key: wp2_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com"]}'

# {"job_id": "a1b2c3d4", "status": "queued"}

curl https://docuqueue.com/api/v1/download/a1b2c3d4 \
  -H "api-key: wp2_your_key_here" -o output.pdf
AI-Native

The only document-generation API built AI-agent-first

Connect Claude, ChatGPT, Copilot, or Gemini directly via MCP — no custom integration code. DocuQueue is listed on mcpservers.org and mcp.so as an MCP-native document generation server.

1

Add the MCP server

Add DocuQueue to your AI agent's MCP config. One line, done.

2

Ask in natural language

"Generate an invoice for Acme Corp, $5,500." Your AI handles the rest.

3

Get a document

PDF, DOCX, or filled form — generated and ready to download.

Definition

What is the DocuQueue API?

DocuQueue API is a REST API for PDF generation and document automation. It converts HTML to PDF, fills PDF forms with JSON data, and generates documents from templates. One API call produces a professional PDF in under 10 seconds. No server management, no Puppeteer, no wkhtmltopdf.

<10s
PDF generation time
2
API calls to first PDF
25
Free credits to start
Three steps. No SDK required.
1

Register

Sign up with your email. Get 25 free credits instantly. No credit card required.

2

Send a request

POST URLs or raw HTML to the API. Each request consumes 1 credit regardless of URL count.

3

Download your PDF

Your PDFs are processed in the background. Check status, then download when ready.

What you can do with DocuQueue.

Document Workflow Automation

What is Document Workflow Automation? Using software to handle repetitive document tasks without manual work — from data entry to routing to archival.

  • Automate template merging with CSV or Excel data
  • Trigger document generation from any webhook or API call
  • Route completed PDFs to email, Slack, or cloud storage
  • Reduce manual document processing time by up to 90%
🤖

AI PDF Form Filling

What is AI PDF Form Filling? Artificial intelligence that automatically detects form fields in PDFs and fills them with provided data.

  • Auto-detect text fields, checkboxes, and signature fields
  • Fill any fillable PDF form without manual mapping
  • Submit data as JSON and get a filled PDF back
  • Works with government forms, contracts, and surveys
📦

Batch PDF Generation

What is Batch PDF Generation? Generating multiple personalized PDFs from a CSV or Excel file in one operation.

  • Upload a CSV or Excel file, each row becomes one PDF
  • Map spreadsheet columns to template fields automatically
  • Generate up to 50 PDFs in a single batch request
  • Download individually or as a ZIP archive
🚀

REST API

What is a REST API for PDF generation? A web API that uses HTTP methods (GET, POST, PUT, DELETE) for programmatic access to DocuQueue features.

  • Convert URLs and HTML to PDF with a single POST request
  • Fill templates, batch generate, and download programmatically
  • Set page size, margins, orientation, and scale per request
  • Connect from any language that speaks HTTP
🔔

Webhook Notifications

What is a Webhook? An automated HTTP callback triggered when a document is ready, enabling async workflows without polling.

  • Receive a POST to your endpoint when PDF generation completes
  • Eliminates polling — your server gets notified automatically
  • Configure per-job or set a default webhook for all requests
  • Integrate with Zapier, n8n, Make, and custom pipelines
📋

Template Fill

What is Template Fill? Merging JSON data into a document template to produce a finished PDF — invoices, contracts, certificates, and more.

  • Use pre-built templates or upload your own DOCX
  • Insert variables with {{ placeholder }} syntax
  • Support for loops, conditionals, and image placeholders
  • Credit-based billing — each fill costs 1 credit

Start generating PDFs with one API call

Start Generating PDFs

25 free credits. No credit card.

Drop-in code for your stack.
# Convert any webpage to PDF
curl -X POST https://docuqueue.com/api/v1/convert \
  -H "api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com"]}'

# Fill a template with JSON data
curl -X POST https://docuqueue.com/api/v1/templates/{template_id}/fill \
  -H "api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": {"company_name": "Acme", "total": "$1,200"}}'

# Generate multiple PDFs from CSV data
curl -X POST https://docuqueue.com/api/v1/templates/{template_id}/fill-batch \
  -H "api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"records": [{"company_name": "Acme"}, {"company_name": "Beta"}]}'

# Download PDF
curl -o output.pdf https://docuqueue.com/api/v1/download/{job_id} \
  -H "api-key: YOUR_KEY"
import requests

API_KEY = "YOUR_KEY"
BASE = "https://docuqueue.com/api/v1"
HEADERS = {"api-key": API_KEY, "Content-Type": "application/json"}

# Convert any webpage to PDF
r = requests.post(f"{BASE}/convert", headers=HEADERS,
    json={"urls": ["https://example.com"]})
job_id = r.json()["job_id"]

# Fill a template with JSON data
r = requests.post(f"{BASE}/templates/{template_id}/fill",
    headers=HEADERS,
    json={"data": {"company_name": "Acme", "total": "$1,200"}})

# Generate multiple PDFs from CSV data
r = requests.post(f"{BASE}/templates/{template_id}/fill-batch",
    headers=HEADERS,
    json={"records": [{"company_name": "Acme"}, {"company_name": "Beta"}]})

# Download PDF
pdf = requests.get(f"{BASE}/download/{job_id}", headers=HEADERS)
open("output.pdf", "wb").write(pdf.content)
const API_KEY = "YOUR_KEY";
const BASE = "https://docuqueue.com/api/v1";
const headers = {"api-key": API_KEY, "Content-Type": "application/json"};

// Convert any webpage to PDF
const res = await fetch(`${BASE}/convert`, {
  method: "POST", headers,
  body: JSON.stringify({urls: ["https://example.com"]})
});
const {job_id} = await res.json();

// Fill a template with JSON data
const fillRes = await fetch(`${BASE}/templates/${templateId}/fill`, {
  method: "POST", headers,
  body: JSON.stringify({data: {company_name: "Acme", total: "$1,200"}})
});

// Generate multiple PDFs from CSV data
const batchRes = await fetch(`${BASE}/templates/${templateId}/fill-batch`, {
  method: "POST", headers,
  body: JSON.stringify({records: [{company_name: "Acme"}, {company_name: "Beta"}]})
});

// Download PDF
const pdf = await fetch(`${BASE}/download/${job_id}`, {headers});
const buf = await pdf.arrayBuffer();
writeFileSync("output.pdf", Buffer.from(buf));

Ready to automate your document workflow?

Start Generating PDFs

25 free credits. No credit card.

Simple plans. No surprises.

Free

$0/mo
25 credits · 5 req/min
  • HTML to PDF
  • URL to PDF
  • Template Fill
  • Up to 3 URLs per request
  • Standard output
  • Community support
Start Free

Starter

$9/mo
250 credits · 20 req/min
  • HTML to PDF
  • URL to PDF
  • Template Fill
  • Batch Processing
  • Up to 5 URLs per request
  • Standard output
  • Email support
Start Free

Business

$99/mo
5,000 credits · 100 req/min
  • HTML to PDF
  • URL to PDF
  • Template Fill
  • Batch Processing
  • Up to 10 URLs per request
  • Priority output
  • Dedicated support
Start Free

Start with 25 free credits. No credit card required.

Start Generating PDFs
Comparison

DocuQueue vs other PDF solutions

See how DocuQueue compares to manual PDF generation and other API providers.

Factor Manual (Puppeteer/wkhtmltopdf) DocuQueue API
Setup time Hours (server config, dependencies) 2 minutes (API key only)
Maintenance Self-managed (updates, security, scaling) Fully managed (zero maintenance)
Form filling Custom code required Built-in (send JSON, get filled PDF)
Batch processing Manual scripting One API call (CSV upload)
Cost Server costs + dev time $0.02-0.05 per PDF
Integrations

Works with your tools

Connect DocuQueue to your existing workflow.

Zapier

Trigger PDF generation from 5,000+ apps. No code required.

Airtable

Generate documents directly from your Airtable bases.

REST API

One endpoint, any language. cURL, Python, Node.js, and more.

Webhooks

Get notified when PDFs are ready. Real-time event delivery.

CSV Upload

Batch generate hundreds of PDFs from a single CSV file.

Common questions.

What counts as 1 credit?

Each successful conversion request consumes 1 credit, regardless of how many URLs are included. Failed requests do not consume credits.

Is there a free plan?

Yes. The Free plan gives you 25 credits per month with no credit card required. Upgrade anytime.

Do failed requests get refunded?

Yes. Credits are pre-deducted but refunded if the conversion fails due to an error on our end.

Can I change plans?

Yes. Upgrades take effect immediately with a prorated charge. Downgrades take effect at the start of your next billing cycle.

What payment methods are accepted?

We accept credit/debit cards (Visa, Mastercard).

Is there a free trial for paid plans?

The Free plan is available indefinitely. You can upgrade to a paid plan at any time.

From the DocuQueue blog.

Tutorials, tips, and updates on PDF generation, template automation, and the DocuQueue API.

Read the Blog →

Automate your document generation today

25 free credits. No credit card required. Generate your first PDF in minutes.

Start Generating PDFs