Skip to content
Cloud infrastructure/devops

api2pdf.com

Api2Pdf - PDF Generation, Powered by AWS Lambda sandbox and mock API

# Introduction [Api2Pdf](https://www.api2pdf.com) is a powerful PDF generation API with no rate limits or file size constraints. Api2Pdf runs on AWS Lambda, a serverless architecture powered by Amazon to scale to millions of requests while being up to 90% cheaper than alternatives. **Supports wkhtmltopdf, Headless Chrome, LibreOffice, and PDF Merge.** You can also generate barcodes with ZXING (Ze Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
9
Collections
-
Event types
-
example request
curl https://your-api2pdf.slurry.io/chrome/url \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

All 9.

  • POST/chrome/html
  • GET/chrome/url
  • POST/chrome/url
  • POST/libreoffice/convert
  • POST/merge
  • POST/wkhtmltopdf/html
  • GET/wkhtmltopdf/url
  • POST/wkhtmltopdf/url
  • GET/zebra