Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Convert → Html To Pdf

AI-generated

Summary

Convert HTML content to a PDF document using provided binary data or a server-side file ID, with adjustable zoom level and customizable request options.

Inputs

  • Input Binary Field Name (File Input) — Name of the binary property containing the HTML file data to convert to PDF.
  • File Id — File ID referencing a server-side file to convert, used instead of binary input for asynchronously processed files.
  • Zoom (required) — Zoom level to apply when rendering the HTML content to PDF; default is 1.
  • Request Options — Optional settings to control batching of inputs, SSL certificate validation, HTTP proxy usage, and request timeout duration.

Output shape

a binary PDF file representing the rendered HTML input.

Returns a binary property containing the generated PDF document. Batched execution can be enabled to throttle requests. Errors related to invalid inputs or network issues can occur if inputs or request options are misconfigured.

Links

Discussion