Documents

Website to PDF

Convert a website to a PDF file

post/v1/websitetopdf

Request

  • Base URL: https://api.apiverve.com
  • URL: https://api.apiverve.com/v1/websitetopdf
  • Auth: API key in header x-api-key

Request body

urlstring required

The URL of the website to convert to PDF

marginTopnumber

The top margin of the PDF in inches (e.g., 0.4)

marginRightnumber

The right margin of the PDF in inches (e.g., 0.4)

marginBottomnumber

The bottom margin of the PDF in inches (e.g., 0.4)

marginLeftnumber

The left margin of the PDF in inches (e.g., 0.4)

landscapeboolean

Set to true for landscape orientation

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.