PDF API

REST API for PDF generation, HTML to PDF conversion, and document automation. Simple, fast, reliable.

API Endpoints

POST

/api/v1/convert

Convert URLs to PDF. Supports batch processing.

POST

/api/v1/convert-html

Convert raw HTML content to PDF.

POST

/api/v1/templates/{id}/fill

Fill a template with data and generate PDF.

POST

/api/v1/forms/upload

Upload PDF and auto-detect form fields. Learn more →

GET

/api/v1/status/{job_id}

Check the status of a conversion job.

GET

/api/v1/download/{job_id}

Download the generated PDF.

GET

/api/v1/templates

List available templates.

Quick Start

Get started in minutes

# 1. Convert a URL to PDF
curl -X POST https://docuqueue.com/api/v1/convert \
  -H "api-key: YOUR_API_KEY" \
  -d '{"urls": ["https://example.com"]}'

# 2. Fill a template
curl -X POST https://docuqueue.com/api/v1/templates/{id}/fill \
  -H "api-key: YOUR_API_KEY" \
  -d '{"data": {"name": "John", "amount": 100}}'

# 3. Check status and download
curl https://docuqueue.com/api/v1/status/{job_id} \
  -H "api-key: YOUR_API_KEY"

Why Developers Choose DocuQueue

Simple Authentication

API key in header. No OAuth complexity. Get started in seconds.

Fast Rendering

Chromium-based rendering for accurate PDFs. Complex layouts supported.

Batch Processing

Process multiple documents in parallel. Save time and credits.

Async Jobs

Submit jobs and poll for status. Non-blocking workflow.

Template System

Pre-built templates or custom DOCX. Variables and line items supported.

Webhook Support

Get notified when jobs complete. Build event-driven workflows.

Frequently Asked Questions

How do I authenticate?

Pass your API key in the `api-key` header with every request. Get your key from the dashboard.

What's the rate limit?

Depends on your plan. Free: 5 req/min. Starter: 20 req/min. Pro: 50 req/min. Business: 100 req/min.

Is there a free tier?

Yes. 25 credits per month. Each API call uses 1 credit.

Do you have SDKs?

We have SDKs for Python and Node.js. Or use any HTTP client.

Can I use webhooks?

Yes. Configure webhooks in your dashboard to get notified when jobs complete.

Start Using the PDF API

Free tier with 25 credits. No credit card required.

Try it free — no card needed