AWS S3

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.

Your files stay in your own AWS account. Full control over retention, encryption, and access policies.

Generate PDFs via API

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

Pass s3_bucket: true in your API call and DocuPotion uploads the PDF straight to your bucket. Organize files with custom S3 keys.

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. Set the expiry that makes sense for your use case.

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 template, uploaded to your S3 bucket, and a presigned URL is returned.

create-document.js
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 integrate?

Check out our API documentation to start generating PDFs and delivering them to your S3 bucket.