ogify
Docs

URL / HTML to PDF

Generate hosted PDFs from a public URL or raw HTML.

URL to PDF

POST /v1/render/pdf

{
  "url": "https://example.com/invoice",
  "format": "A4",
  "print_background": true
}

HTML to PDF

{
  "html": "<h1>Invoice #1004</h1>",
  "css": "body{font-family:Inter,sans-serif}",
  "format": "Letter",
  "landscape": false
}

Provide exactly one of url or html. The response contains a hosted application/pdf URL.