Generate PDF
Transform templates into PDFs with dynamic data binding and cloud storage
Overview
The Generate PDF endpoint is the core functionality of CuratePDF. It takes a template ID and dynamic data to produce a professionally formatted PDF document that’s automatically stored in secure cloud storage.
Generated PDFs are temporarily stored and accessible via secure download URLs with automatic expiration for enhanced security.
Key Features
Dynamic Data Binding
Variable Substitution
Replace template variables with real data like customer names, invoice numbers, dates, and complex objects.
Cloud Storage
Secure File Hosting
Generated PDFs are automatically uploaded to secure cloud storage with time-limited download URLs.
Custom Filenames
Flexible Naming
Specify custom filenames with dynamic content for better organization and identification.
High Performance
Fast Generation
Optimized PDF rendering engine processes documents quickly even with complex layouts.
Data Binding
Template variables are replaced with actual data during PDF generation. Variables use double curly brace syntax: {{variable_name}}
.
Simple Variable Binding
Complex Object Binding
Common Use Cases
Authorizations
API key for accessing the Docurate PDF API
Body
Response
PDF generated successfully
The response is of type object
.