Get PDF using HTML


This endpoint makes an HTTP POST request to create a PDF from the provided URL. The request should include the URL, API key, engine type, and response type. The response will include a status code and the URL to access the generated PDF.

Request Body

resType (string)

The type of response expected.

html (string) The HTML content to be converted to PDF.
apiKey (string) The API key for authentication.
engine (integer)

The engine type for PDF conversion.


  • status (integer): The status code of the response.
  • output (string): The URL to access the generated PDF.


    "html": "[html_content]",
    "apiKey": "[apiKey]",
    "engine": 2,
    "resType": "display"

Was this article helpful?