Skip to content

Introduction

Welcome to Docstron - a powerful and flexible PDF generation API that transforms your HTML templates and data into professional PDF documents.

Docstron provides a simple REST API to generate PDF documents from HTML templates. Whether you need invoices, reports, certificates, or any other document type, Docstron handles the heavy lifting of PDF generation so you can focus on your application.

  • 🚀 Fast PDF Generation - Generate PDFs in seconds from HTML templates
  • 📝 Template Management - Create and manage reusable HTML templates
  • 🔄 Dynamic Data Injection - Merge data with templates for personalized documents
  • 🎨 Full HTML/CSS Support - Use modern HTML and CSS for beautiful layouts
  • 📦 Multiple Output Options - Get PDF as direct response, URL, or document ID
  • 🔐 Secure & Reliable - Enterprise-grade security and 99.9% uptime
  1. Create an Application - Set up your project workspace
  2. Design Templates - Create HTML templates with placeholders for dynamic data
  3. Generate API Key - Get your authentication credentials
  4. Make API Calls - Send data to generate PDFs instantly

Follow these steps to start generating PDFs:

Sign up at docstron.com and get a 7-day free trial to explore the platform. The free trial includes basic features to help you evaluate Docstron.

Note: Free trial has limited features. Check out our pricing plans for full access to all features.

After logging in, create your first application:

  1. Visit Applications Dashboard
  2. Click “Create Application”
  3. Enter your application name and description
  4. Your application is ready!

Applications help you organize templates and documents by project or environment (development, production, etc.).

Templates are reusable HTML layouts with placeholders for dynamic data:

  1. Go to Templates Dashboard
  2. Click “Create Template”
  3. Write your HTML template with data placeholders
  4. Save your template

You can also create templates programmatically using our Template API.

Before using the API, you need authentication credentials:

  1. Navigate to API Keys
  2. Click “Create API Key”
  3. Copy and securely store your API key
  4. Use this key in all API requests

⚠️ Keep your API key secret! Never expose it in client-side code or public repositories. Navigate the Authentication section to learn how to use your API key with the API.

Navigate to Quick start

Now that you understand the basics, explore these resources:

If you have questions about applications or need assistance:

  • 📧 Email: support@docstron.com
  • 💬 Live Chat: Available in your dashboard
  • 📚 Documentation: You’re reading it!