Mail Merge API
Generate multiple personalized documents from a single template. Upload template + data file, get a ZIP with all generated documents.
Features
- DOCX Templates - Use {{placeholder}} syntax
- CSV or JSON Data - Flexible data input
- PDF or DOCX Output - Choose your format
- ZIP Download - All documents in one file
- Unlimited Records - Process any number of rows
Quick Example
curl -X POST "https://api.chargedapi.com/generate/batch" \
-H "X-API-Key: your_api_key" \
-F "template=@letter.docx" \
-F "data_file=@recipients.csv" \
-F "output_format=pdf" \
--output letters.zip
# CSV format:
# name,email,amount
# John,john@example.com,$500
# Jane,jane@example.com,$750
3 credits per batch
Use Cases
Mass Mailings
Generate personalized letters for all recipients
Contracts
Create customized contracts from templates
Reports
Generate personalized reports in bulk
Start Mail Merge
50 free credits to get started