pdf
Generate PDF from HTML Document
Allows you to pass a HTML document as a string into the endpoint and return a application/pdf document
post/generate-pdf
Headers
strip-anchor-tagsboolean
Strip all anchor tag hrefs from links on page.
embed-remote-imagesboolean
Downloads images with a remote url and embeds them as base64 encoded data
margin-topinteger
Set the top margin in pixels of the PDF
margin-bottominteger
Set the bottom margin in pixels of the PDF
margin-leftinteger
Set the left margin in pixels of the PDF
margin-rightinteger
Set the right margin in pixels of the PDF
titlestring required
The title of the document that should be added for accessibility purposes.
subjectstring required
The subject that should be added for accessibility purposes that describes the intent of the document
print-backgroundboolean
Whether the PDF renderer should include background images when rendering the PDF.
emulate-media-typestring
Set whether the PDF renderer should use the print or screen CSS for styling
Response
Successfully returned a PDF