This service generates high-quality PDFs from HTML or webpage URLs.
POST /api/pdf/html
POST /api/pdf/url
x-api-key: YOUR_API_KEY
{
"html": "<html><body><h1>Invoice</h1></body></html>",
"pageSize": "A4",
"marginTop": "10mm",
"marginRight": "10mm",
"marginBottom": "10mm",
"marginLeft": "10mm",
"landscape": false,
"printBackground": true
}
{
"url": "https://example.com/invoice/1001",
"pageSize": "A4"
}
Status: PDF Service Running