Create PDF Reports With API

CraftMyPDF supports RESTful API integration. The integration with REST API makes it easy to auto create PDF reports in your application.

Weekly summaries, financial statements and client reports are the same layout every period with new numbers. Pull them from your database, analytics platform or spreadsheet into a designed template with tables, charts and page headers.

Design the template once in our drag-and-drop editor, then POST your JSON — your PDF reports come back with tables, images, barcodes and QR codes rendered from your data. Any language that speaks HTTP works, with no PDF library to maintain.

*No Credit-card Required!

Use CraftMyPDF Integration to Create PDF Reports With API

Three simple steps to automate your document or image generation with any programming language:

  1. Design your template once in our drag-and-drop editor — add your text, images, tables and barcodes.
  2. Send us your data and tell us which template to use — from your own app, or from Zapier or Make.com.
  3. Your finished PDF or image comes straight back, ready to store, email or print.

Automation for PDF & image generation has never been easier!

Prefer a different tool? Automate the same workflow with Make.com or Zapier.

Millions of PDFs generated for thousands of users worldwide

CraftMyPDF gives you the power to seamlessly generate PDFs and images from highly reusable templates

  • Easy to Use Drag-and-Drop Template Editor

    Design professional PDF templates visually with our easy-to-use editor. Add text, images, QR codes, barcodes, shapes, tables, charts, and more.

    more
  • Turn Existing PDFs into Fillable Templates

    AI and computer vision detect fields in your existing PDFs, identify the expected data type, and generate clear labels for easier mapping and automation.

    Video tutorial
  • Powerful Expressions & Formatting Support

    Format dates, currencies, numbers, and text with built-in expressions. Need more advanced logic? Extend your templates with custom JavaScript functions.

    more
  • Generate PDF Documents Within Your Region

    Generate and store PDFs closer to your users with regional endpoints. Available in the US, EU, Singapore, and Australia to support data residency and lower latency.

    more
  • PDF Generation & Image Generation API

    Our cloud-based API helps you to generate PDF documents or images. We support synchronously or asynchronously PDF generation scale without the costs of maintenance.

    API Reference
  • Automate with Nocode or Lowcode Platforms

    Automate document workflows with Zapier, Make, Bubble, Coda, and REST API integrations. Connect CraftMyPDF to the tools your team already uses.

    more
  • Support of Fillable Components

    Create interactive PDF forms with fillable components in the drag-and-drop editor. Add text fields, checkboxes, dropdowns, radio buttons, and signature fields with ease.

    more
  • Built with Security in Mind

    CraftMyPDF has successfully completed its SOC 2 Type II audit to support teams that need stronger security, reliability, and operational trust.

    Enterprise features

Intuitive & Advanced Template Editor

Our drag & drop editor lets you design templates in any browser and generate pixel-perfect PDF documents and images from pre-defined templates and JSON data.

Advanced Drag & Drop Template Builder

No code required! Our advanced editor allows you to easily create new PDFs by dragging and dropping the elements into your PDF templates.

You can create PDF documents easily such as invoices, reports, delivery notes that reflect your brand.

If you are still converting HTML code to PDFs and looking for an easy way to create PDF documents – Our PDF template editor does not require HTML or CSS knowledge.

Drag-and-drop template builder animation The CraftMyPDF template editor building an invoice. A logo, a customer text block bound to the data field customer.name, a line-item table bound to items, and a QR code are dragged one at a time from the component palette onto a blank page. Each element is selected as it lands and the properties panel shows its position, size and data-field binding. When all four are placed the finished template is marked saved. Invoice Template 100% Preview COMPONENTS Text Image Table QR Code Barcode Shape Chart A4 · Portrait Bill to {{ customer.name }} PROPERTIES Select an element POSITION SIZE DATA FIELD STYLE OPACITY Auto-fit Image X 12 Y 12 W 46 H 30 {{ logo_url }} Text X 83 Y 12 W 96 H 30 {{ customer.name }} Table X 12 Y 90 W 167 H 104 {{ items }} QR Code X 12 Y 216 W 34 H 34 {{ order_id }} Saved Image Text Table QR Code
Use Cases

Generate Professional PDFs for Recurring Business Workflows

CraftMyPDF helps you design reusable PDF templates and generate polished documents from JSON data using API, Make, or Zapier.

  • Contracts
  • PDF Reports
  • Sales Reports
  • Invoices
  • Packing Slips
  • Label Sheets
  • Certificates
  • Agreements
  • Purchase Orders
  • Delivery Notes
  • Payslips
  • Coupons
  • Credit Notes
  • Dispatch Labels
  • Shipping Labels
CraftMyPDF packing slip template preview

Easy Integrations

Call the PDF Generation API and Image Generation API from the tools your team already runs — Zapier, Make.com, n8n, Bubble.io and more — with no glue code to maintain.

Automate your PDF workflow with no-code platforms or the REST API

One template, one JSON payload. Send data from a Zapier zap, a Make.com scenario, an n8n workflow or your own backend — every integration calls the same endpoint.

Run it synchronously for on-screen downloads or asynchronously for batches, with request data and generated files kept in your chosen region: US, EU, Singapore or Australia.

Browse all integrations
curl -X POST \
  --header "Content-Type: application/json"  \
  --header 'X-API-KEY: 7832MjA6MTE6UjlkM3h4emxpTExzeFR0aQ=' \
  --data '{"template_id": "05f77b2b18ad809a", "export_type":"json", "expiration": 10, "output_file":"my_new.pdf", "data":  "{ \"invoice_number\": \"INV38379\", \"date\": \"2021-09-30\",  \"currency\": \"USD\", \"total_amount\": 82542.56   }", "output_file": "output.pdf"}' \
  "https://api.craftmypdf.com/v1/create"

Native integrations, plus a REST API for everything else.

Customer Reviews

Trusted by individual developers and businesses, we have generated over 10 millions of high-quality PDFs!

See what our customers have to say about us

Frequently Asked Questions

How do you create PDF reports with the API?

You build the report layout once in the editor and place the tables, charts and headings where you want them. From then on, your app sends the figures as JSON with the template ID and gets the finished PDF back. The figures can come from a database, an analytics tool or a spreadsheet. You only open the editor again when you want to change how the report looks.

Can the report have charts, or just tables?

Both. The editor includes bar, line, area, pie and donut charts, and each one is drawn from the data you send, so every report gets its own chart with nobody touching a design tool. Tables get longer as you add rows, and page headers repeat so a long report stays easy to read.

We need hundreds of reports in one go. Is that possible?

Yes. Send the whole batch in async mode, let the PDFs generate in the background and pick up the files when they are done. If your data sits in a spreadsheet, the free PDF tools have a bulk generator that makes one PDF from each CSV row, a simple way to try the idea before anyone writes code.

Is there a ready-made report template I can start with?

Not for reports specifically. The ready-made templates cover things like certificates, tickets and a receipt template, which are useful for seeing how a layout fills in from data. For a report, start with a blank template, drop in the table and chart blocks, and arrange them how you like.

Who actually uses this?

Sales teams for weekly pipeline reports, marketing teams for campaign summaries, logistics for shipment reports, schools for student results and real estate firms for property reports. Each has its own page under industries showing the usual documents and how the workflow is set up.

Where is my report data kept?

In the region you pick: US, EU, Singapore or Australia. The data you send and the PDFs that come back both stay in that region, which matters if your company has rules about where data can live. To see everything the editor and API can do, from expressions and custom JavaScript to the web-based report designer, go to features.

Start generating PDFs in minutes

Design templates in your browser and generate pixel-perfect PDFs through a simple REST API or your favourite no-code platform.

*No Credit-card Required!