doczap API Documentation
Generate beautiful PDFs from templates at scale with our simple REST API.
Generate your first PDF in 30 seconds
curl -X POST https://api.doczap.app/api/v1/your-org/templates/invoice/documents \
-H "Authorization: Bearer sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"invoice_number": "INV-001",
"customer_name": "Acme Corp",
"amount": "$1,250.00",
"due_date": "2024-12-31"
}'
Why doczap?
- 🚀 Fast - Generate PDFs in under 300ms (P95)
- 📐 Template-based - Design once, render millions of PDFs
- 🔧 Simple API - RESTful endpoints with predictable responses
- ⚡ Scalable - Built on Cloudflare Workers for global edge performance
- 🔒 Secure - Enterprise-grade security with API key authentication
How it works
- Upload Template - Design your document template with placeholders
- Configure Endpoint - Set up your template with validation schema
- Call API - Send data to generate PDFs on-demand
- Receive PDF - Get your document instantly or via webhook
Popular Use Cases
- 📄 Invoices & Receipts - Generate billing documents automatically
- 📊 Reports & Analytics - Create data-driven PDF reports
- 🎫 Tickets & Passes - Issue event tickets and boarding passes
- 📜 Certificates - Generate certificates and diplomas
- 📑 Contracts - Create personalized legal documents
Ready to start?
Explore our documentation to learn how to integrate doczap into your application.