ComposeIt Developer Hub
Document Generation for Developers
Design layout templates visually, and generate pixel-perfect PDFs programmatically with our developer API.
Quick Start Guide
Build your first invoice template step-by-step. Set up schemas, drag columns, apply branding, and compile your first PDF.
Start Building
Editor Guide
Master layout components, zebra table styling, image branding, asset manager adjustments, and dynamic variable data-bindings.
Explore Editor
API Docs
Render PDFs programmatically via POST requests. Detail your fields, manage secure x-api-keys, and handle output formats.
Read API Reference
Integrations
Connect ComposeIt to Make, Zapier, N8N, Airtable, Docuseal, and custom CRM systems to automate document output generation.
View Integration
cURL - Generate PDF
# Generate PDF dynamically using variables
curl -X POST https://app.composeit.app/api/export \
-H "Content-Type: application/json" \
-H "x-api-key: $COMPOSEIT_API_KEY" \
-d '{
"templateId": "...",
"formats": ["pdf"],
"data": { "number": "INV-01", "grand_total": 120.00 }
}'
curl -X POST https://app.composeit.app/api/export \
-H "Content-Type: application/json" \
-H "x-api-key: $COMPOSEIT_API_KEY" \
-d '{
"templateId": "...",
"formats": ["pdf"],
"data": { "number": "INV-01", "grand_total": 120.00 }
}'