Skip to main content

RenderDoc Documentation

Generate Documents from Templates

Create professional PDF and Excel documents programmatically.
Design templates visually. Generate documents with a single API call.

// Generate a PDF document with one API call
const response = await fetch('https://api.renderdoc.dev/v1/documents/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer your-api-key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
templateId: "invoice-template",
format: "pdf",
variables: {
invoiceNumber: "INV-2025-001",
customerName: "Acme Corporation",
lineItems: [
{ description: "Consulting", quantity: 10, price: 100 },
{ description: "Development", quantity: 5, price: 150 }
],
total: 1750.00
}
})
});

const { downloadUrl } = await response.json();
// Download your generated PDF from the signed URL

Why RenderDoc?

1

Simple API

Generate any document with a single POST request. No complex setup required.

2

Visual Designer

Design PDF and Excel templates with an intuitive drag-and-drop editor.

3

Multiple Formats

Generate PDFs, Excel spreadsheets, and more from the same template system.

Explore Documentation