API Documentation
Generate from HTML
Generates a PDF document from raw HTML content and/or a URL. If both are provided, the HTML content will be injected into the page at the specified URL.
POST
This endpoint allows you to generate a PDF document directly from HTML content, without needing to publish a template first.
For generating documents from published templates, see the Generate Document endpoint instead.
Authorizations
API key or authentication token
Body
application/json
Response
200
application/pdf
Generated document in requested format
Binary PDF file (when format=pdf)