Skip to content

Client

new PoliPage(options: PoliPageOptions)

Poli Page client. Entry point for the namespaced render API.

The constructor takes a single options object. The only required field is apiKey. See PoliPageOptions for every field.

The client exposes two namespaces:

  • render — render PDFs (in memory, streaming, or to a stored document).
  • documents — fetch, preview, thumbnail, or delete stored documents.

The standalone helper renderToFile ships from the @poli-page/sdk/node subexport.