About this endpoint
What it does
Converts the provided HTML content string into a PDF and returns the generated file as a binary download. The request supplies the HTML in the body and can optionally specify the output filename and page orientation.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output filename for the generated PDF. |
| landscape | Boolean | No | Page orientation flag. Defaults to false. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | HTML content string to render into a PDF. |
Response
Returns a binary PDF download as the response body. The output schema is a single string with binary format, so there is no JSON wrapper or named response field to read.