Cloudmersive · Schema
HtmlToPdfRequest
Details of the HTML to PDF request
BarcodesConversionDocumentsImage RecognitionNatural-LanguageOCRProcessingValidationVirus Scanning
Properties
| Name | Type | Description |
|---|---|---|
| Html | string | HTML to render to PDF |
| ExtraLoadingWait | integer | Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the d |
| IncludeBackgroundGraphics | boolean | Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true. |
| ScaleFactor | integer | Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%. Maximum is 1000%. |
| AutoSanitize | boolean | Optional: Automatically sanitize unsafe elements from the input HTML. If disabled, and unsafe elements remain in the input HTML, the request will be blocked. Default is true. |
| PageSize | string | Optional: Page size for the PDF output. Default is Letter. Allowed values: Letter, Legal, Tabloid, Ledger, A0, A1, A2, A3, A4, A5, A6. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-html-to-pdf-request-schema.json",
"title": "HtmlToPdfRequest",
"description": "Details of the HTML to PDF request",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cloudmersive-convertweb-api-openapi.yml#/components/schemas/HtmlToPdfRequest",
"type": "object",
"properties": {
"Html": {
"description": "HTML to render to PDF",
"type": "string"
},
"ExtraLoadingWait": {
"format": "int32",
"description": "Optional: Additional number of milliseconds to wait once the web page has finished loading before taking the screenshot. Can be helpful for highly asynchronous websites. Provide a value of 0 for the default of 5000 milliseconds (5 seconds). Maximum is 30000 milliseconds (30 seconds).",
"type": "integer"
},
"IncludeBackgroundGraphics": {
"description": "Optional: Set to true to include background graphics in the PDF, or false to not include. Default is true.",
"type": "boolean"
},
"ScaleFactor": {
"format": "int32",
"description": "Optional: Set to 100 to scale at 100%, set to 50% to scale down to 50% scale, set to 200% to scale up to 200% scale, etc. Default is 100%. Maximum is 1000%.",
"type": "integer"
},
"AutoSanitize": {
"description": "Optional: Automatically sanitize unsafe elements from the input HTML. If disabled, and unsafe elements remain in the input HTML, the request will be blocked. Default is true.",
"type": "boolean"
},
"PageSize": {
"description": "Optional: Page size for the PDF output. Default is Letter. Allowed values: Letter, Legal, Tabloid, Ledger, A0, A1, A2, A3, A4, A5, A6.",
"type": "string"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudmersive-html-to-pdf-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.