All Integrations
API

Generate PDF Reports from REST API Automatically

Send data via REST API and receive reports programmatically

Get Started Free

The Problem

Building report generation into your REST API-powered app requires significant development time. You need rendering, formatting, PDF generation...

How It Works

1

Design Your Template

Use our drag-and-drop editor to create your report layout with text, charts, tables, and your branding.

2

Configure REST API

Get your API endpoint and authentication. Send data as JSON to generate documents.

3

Generate Reports on Demand

Each request fills your template and returns a personalized pdf report, ready to download.

Calling the API for reports

POST to /api/v1/documents with a templateId and a data object, using an API key in the Authorization header. Your application keeps its own logic, and the design stays in a template that a non-developer can edit without a deploy.

Field keys in the data object match the keys in your template. The API is included on every plan, and generated documents count toward the same monthly limit as any other report.

Example: REST API data in a report template

You match each value to a placeholder once, and it applies to every document after that.

Your dataTemplate placeholder
"name" in the JSON data object{{name}}
"score" in the JSON data object{{score}}
"department" in the JSON data object{{department}}
"comments" in the JSON data object{{comments}}

Turning raw answers into a report someone will read

A useful report leads with a conclusion, then shows the evidence. Put the headline number at the top, use a chart for comparisons, and keep the raw answers in a table near the end for anyone who wants them.

Scores usually need calculating first. A formula such as AVG(Q1, Q2, Q3) produces a section score at generation time, and a bar, radar, or line chart can then plot it from the same data.

Popular Use Cases

Assessment Reports

Generate detailed assessment results with charts

Performance Reviews

Create employee performance summaries

Analytics Summaries

Turn data into visual report documents

What You Can Do

  • Bar, radar, and line charts bound to your data
  • Formulas for scores and averages
  • Conditional sections per result band
  • Multi-page layouts with repeating tables
  • Consistent branding on every report

Start From a Template

Frequently Asked Questions

How do I connect REST API to Diro?

Use Diro's REST API. Send a POST request with your template ID and data. Get back a report URL instantly.

How fast are reports generated?

Most reports are generated in under 2 seconds. Complex documents with many charts may take up to 5 seconds.

Can I customize the report design?

Yes! Add your logo, brand colors, custom fonts, charts, tables, and more. The visual editor gives you full control over the design.

How many reports can I generate?

The Free plan includes 50 reports per month. Starter ($9/mo) includes 150, Pro ($29/mo) includes 500, and Enterprise ($99/mo) includes 5,000.

Other REST API Integrations

Other Ways to Generate PDF Reports

Stop wasting time on repetitive documents

Connect a form, pick a document type, download your first PDF. Every response after that turns into a document on its own.

No credit card required. First PDF in about two minutes.