Enhance PDFs with custom headers and footers effortlessly.
headerTemplate
footerTemplate
curl --request POST 'https://api.doczilla.app/v1/pdf' \ --header 'Authorization: Bearer <your token>' \ --header 'Content-Type: application/json' \ --output 'doczilla.pdf' \ --data '{ "page": { "html": "PGRpdj5Zb3VyIGZpcnN0IERvY3ppbGxhIFBERjwvZGl2Pg==" }, "pdf": { "displayHeaderFooter": true, "headerHtml": "PGRpdiBzdHlsZT0iZm9udC1zaXplOiAxNnB4OyBjb2xvcjogYmxhY2s7IHBhZGRpbmc6IDIwcHgiPkhlYWRlcjwvZGl2Pg==", "footerHtml": "PGRpdiBzdHlsZT0iZm9udC1zaXplOiAxNnB4OyBjb2xvcjogYmxhY2s7IHBhZGRpbmc6IDIwcHgiPkZvb3RlciAtIDxzcGFuIGNsYXNzPSJwYWdlTnVtYmVyIj48L3NwYW4+LzxzcGFuIGNsYXNzPSJ0b3RhbFBhZ2VzIj48L3NwYW4+PC9kaXY+", "margin": { "top": "75px" } } }'
Was this page helpful?