AWS S3 INTEGRATION

Generate PDFs and deliver them straight to your S3 bucket

Use the DocuPotion PDF generation API to create dynamic documents from templates and automatically store them in your own AWS S3 bucket with presigned URLs.

Oliver Watts
George Collier
Matt Neary
5.0

from user reviews

Start Free Trial

Here's how it works

Connect your AWS S3 bucket and start generating PDFs with cloud storage in minutes.

Connect your S3 bucket

Link your AWS S3 bucket to DocuPotion through the dashboard. Just add your bucket credentials and you're ready to go.

DocuPotion securely stores your connection details so every PDF you generate can be delivered directly to your own cloud storage.

Generate PDFs via API

Design templates with our drag-and-drop editor, then use the document generation API to create dynamic PDFs with your own data.

Pass s3_bucket: true in your API call and DocuPotion uploads the generated PDF straight to your S3 bucket.

Get presigned URLs

Every generated PDF returns an S3 presigned URL that you can share with users, embed in emails, or use in your application.

Control URL expiration from 1 minute to 7 days. Your files stay in your bucket — you own the storage and the access.

One API call to generate and store

Add two parameters to your existing API call and DocuPotion handles the rest. Your PDF is generated from your HTML template, uploaded to your S3 bucket, and a presigned URL is returned.

Custom S3 keys

Organize files with your own folder structure using the s3_key parameter.

Configurable expiration

Set presigned URL expiry from 1 minute to 10,080 minutes (7 days).

Your bucket, your data

Files are stored in your own AWS account. Full control over retention, encryption, and access policies.

const response = await fetch("https://api.docupotion.com/v1/create-document", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    templateId: "your_template_id",
    output: "url",
    s3_bucket: true,
    s3_key: "invoices/2024/INV-001",
    expiration: 60,
    data: {
      customerName: "Acme Corp",
      invoiceNumber: "INV-001",
      totalAmount: "$1,250.00"
    }
  })
});

// Response
{
  "success": true,
  "url": "https://s3.amazonaws.com/your-bucket/invoices/2024/INV-001.pdf?..."
}

Loved by teams everywhere

From invoices to contracts, teams rely on DocuPotion to automate their document workflows and scale easily.

"I set up DocuPotion and deployed within 30 minutes. Everything worked seamlessly and the team is always responsive and helpful for support. I'd strongly recommend it to any developer who needs to generate documents at scale in their app."
George Collier

George Collier

Founder, Not Quite Unicorns

Ready to get started?

Start generating PDFs and storing them in your AWS S3 bucket with our free trial.

Start Free Trial