A business letter that sends a business plan and asks for financing. It is dated and addressed to the recipient with their job title, company, address, email and phone. Download the Word file to replace the wording with your own, then generate a letter for every recipient.
Upload the letter template, then send the structured data to get the finished document. Make sure to replace YOUR_API_KEY with your unique key and YOUR_TEMPLATE_ID with the ID of your template.
Send an array of JSON objects and get one document for each object, returned in a ZIP archive. Use the output_name parameter to customize each filename with the merge tags from your template.
Upload an Excel spreadsheet and every row becomes a document, with the column headers matching your merge tags. Use the sheet parameter to read a specific sheet from the Excel file.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"Name": "Faythe Ivell",
"Job Title": "Structural Analysis Engineer",
"Company Name": "Grimes, Barton and Reilly",
"Street Address": "31305 Mifflin Center",
"City": "North Little Rock",
"State": "Arkansas",
"Zip Code": "72118",
"Email": "fivell0@geocities.com",
"Phone": "(501) 7401657",
"Date": "6/30/2024"
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Business Letter [Name]",
"data": [
{ "Name": "Faythe Ivell", "Job Title": "Structural Analysis Engineer", "Company Name": "Grimes, Barton and Reilly", "Street Address": "31305 Mifflin Center", "City": "North Little Rock", "State": "Arkansas", "Zip Code": "72118", "Email": "fivell0@geocities.com", "Phone": "(501) 7401657", "Date": "6/30/2024" },
{ "Name": "Jorie Weatherburn", "Job Title": "Software Engineer IV", "Company Name": "Witting Inc", "Street Address": "812 Fordem Park", "City": "Mesquite", "State": "Texas", "Zip Code": "75185", "Email": "jweatherburn1@utexas.edu", "Phone": "(972) 7689777", "Date": "6/1/2024" },
{ "Name": "Meade Redier", "Job Title": "Biostatistician III", "Company Name": "Hagenes-Leannon", "Street Address": "6 Main Road", "City": "Savannah", "State": "Georgia", "Zip Code": "31405", "Email": "mredier2@bandcamp.com", "Phone": "(912) 2564974", "Date": "6/19/2024" },
{ "Name": "Cindi Brain", "Job Title": "Database Administrator II", "Company Name": "Stehr-Kris", "Street Address": "64629 Rieder Plaza", "City": "Columbia", "State": "South Carolina", "Zip Code": "29203", "Email": "cbrain3@yellowpages.com", "Phone": "(803) 9951424", "Date": "8/1/2024" },
{ "Name": "Laureen Dowthwaite", "Job Title": "Financial Analyst", "Company Name": "Littel, Graham and Hagenes", "Street Address": "9 Hoepker Lane", "City": "Laurel", "State": "Maryland", "Zip Code": "20709", "Email": "ldowthwaite4@jimdo.com", "Phone": "(301) 3979223", "Date": "12/30/2023" },
{ "Name": "Timi Bredee", "Job Title": "Technical Writer", "Company Name": "Nicolas, Nicolas and Treutel", "Street Address": "80 Straubel Plaza", "City": "Houston", "State": "Texas", "Zip Code": "77271", "Email": "tbredee5@cbslocal.com", "Phone": "(713) 4139009", "Date": "9/3/2024" },
{ "Name": "Melantha Byass", "Job Title": "Senior Quality Engineer", "Company Name": "Rippin-Hegmann", "Street Address": "340 Clemons Drive", "City": "Dallas", "State": "Texas", "Zip Code": "75260", "Email": "mbyass6@mapquest.com", "Phone": "(214) 7196390", "Date": "4/2/2024" },
{ "Name": "Mahalia Binnes", "Job Title": "Quality Control Specialist", "Company Name": "Maggio Inc", "Street Address": "8569 Burrows Alley", "City": "Greensboro", "State": "North Carolina", "Zip Code": "27499", "Email": "mbinnes7@netlog.com", "Phone": "(336) 6715418", "Date": "3/26/2024" },
{ "Name": "Dael Singleton", "Job Title": "Statistician IV", "Company Name": "Wiegand-Crooks", "Street Address": "9086 Charing Cross Road", "City": "Huntington", "State": "West Virginia", "Zip Code": "25705", "Email": "dsingleton8@tinypic.com", "Phone": "(304) 1303802", "Date": "1/26/2024" },
{ "Name": "Tripp Sinderson", "Job Title": "Administrative Officer", "Company Name": "Walsh Group", "Street Address": "88327 Mosinee Crossing", "City": "El Paso", "State": "Texas", "Zip Code": "79934", "Email": "tsinderson9@tmall.com", "Phone": "(915) 3941525", "Date": "1/8/2024" }
]
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: multipart/form-data' \
-F 'template_id=YOUR_TEMPLATE_ID' \
-F 'file=@Business Letter Batch.xlsx' \
-F 'output_format=.pdf' \
-F 'single_file=false' \
-F 'output_name=Business Letter [Name]' Questions frequently asked about our letter templates
Get started with 20 free documents per month and our ready-to-use letter templates.