Generate tagged (accessible) PDF.
This is experimental and will increase the size of the PDF.
Example:
false
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Doczilla","colors":{"primary":"#17E286","light":"#17E286","dark":"#17E286"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/doczilla/yA67lL7oehM3XiOm/images/logo.svg?fit=max\u0026auto=format\u0026n=yA67lL7oehM3XiOm\u0026q=85\u0026s=29829af5c66efb627f6a2394dd7e4fcc","dark":"https://mintcdn.com/doczilla/yA67lL7oehM3XiOm/images/logo.svg?fit=max\u0026auto=format\u0026n=yA67lL7oehM3XiOm\u0026q=85\u0026s=29829af5c66efb627f6a2394dd7e4fcc","href":"https://doczilla.app"},"api":{"openapi":"api-reference/openapi.json"},"appearance":{"default":"dark","strict":true},"background":{"decoration":null,"color":{"light":"#000","dark":"#000"}},"navbar":{"links":[{"label":"Login","href":"https://doczilla.app/login"}],"primary":{"type":"button","label":"Sign up","href":"https://doczilla.app/signup"}},"footer":{"socials":{"github":"https://github.com/doczilla-app","website":"https://doczilla.app"},"links":[{"header":null,"items":[{"label":"Pricing","href":"https://doczilla.app/pricing"},{"label":"PDF API","href":"https://doczilla.app/features/pdf-api"},{"label":"Screenshot API","href":"https://doczilla.app/features/screenshot-api"}]},{"header":null,"items":[{"label":"Blog","href":"https://doczilla.app/blog"},{"label":"About us","href":"https://doczilla.app/about"},{"label":"Privacy Policy","href":"https://doczilla.app/privacy"},{"label":"Terms of Service","href":"https://doczilla.app/terms"}]},{"header":null,"items":[{"label":"Contact","href":"mailto:contact@doczilla.app"},{"label":"Community","href":"/community"},{"label":"Examples","href":"https://doczilla.app/terms"}]}]},"integrations":{"posthog":{"apiKey":"phc_YhKaViejsEL77Sp2WhzFvU4XArynP0nwT7cm4vp8fY6","apiHost":"https://eu.posthog.com"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"doczilla","hasAudioNarration":false,"actualSubdomain":"doczilla","customDomains":["docs.doczilla.app"],"gitSource":{"type":"github","owner":"doczilla-app","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61133a4518725aab129","collectionId":"91be9ac5-be07-45b6-9dbd-d056ca1eb385","schemaVersion":"v2"},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a21e61133a4518725aab129:success","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"Examples","count":13},{"language":"default","tag":"Libraries","count":6},{"language":"default","tag":"Manage Templates","count":5},{"language":"default","tag":"API Documentation","count":5},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Screenshots","count":4},{"language":"default","tag":"PDFs","count":4},{"language":"default","tag":"Templating","count":4},{"language":"default","tag":"PDF","count":3}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/pdf-options","slug":"/api-reference/pdf-options","pageMetadata":{"title":"PDF options","description":"All available options for the PDF API endpoints.","openapi-schema":"PdfOptions","href":"/api-reference/pdf-options","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"All available options for the PDF API endpoints.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const{Tip}={..._provideComponents(),...props.components};if(!Tip)_missingMdxReference(`Tip`,true);return _jsx(Tip,{children:`All options are optional`})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"PDF options","description":"All available options for the PDF API endpoints.","openapi-schema":"PdfOptions","href":"/api-reference/pdf-options","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"schemaData":{"type":"object","properties":{"scale":{"type":"number","example":1,"description":"Scales the rendering of the web page. Amount must be between `0.1` and `2`.","minimum":0.1,"maximum":2,"default":1,"uniqueKey":"scale","typeLabel":"number"},"displayHeaderFooter":{"type":"boolean","example":false,"description":"Whether to show the header and footer.","default":false,"uniqueKey":"displayHeaderFooter","typeLabel":"boolean"},"headerHtml":{"oneOf":[{"type":"string","description":"HTML template for the print header. Should be valid HTML (base64 encoded) with the following classes used to inject values into them:\n- `date` formatted print date\n- `title` document title\n- `url` document location\n- `pageNumber` current page number\n- `totalPages` total pages in the document","uniqueKey":"headerHtml.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTML template for the print header. Should be valid HTML (base64 encoded) with the following classes used to inject values into them:\n- `date` formatted print date\n- `title` document title\n- `url` document location\n- `pageNumber` current page number\n- `totalPages` total pages in the document","uniqueKey":"headerHtml.oneOf.1","typeLabel":"null"}],"uniqueKey":"headerHtml","typeLabel":"string | null"},"footerHtml":{"oneOf":[{"type":"string","description":"HTML template for the print footer. Has the same constraints and support for special classes as `headerHtml`.","uniqueKey":"footerHtml.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTML template for the print footer. Has the same constraints and support for special classes as `headerHtml`.","uniqueKey":"footerHtml.oneOf.1","typeLabel":"null"}],"uniqueKey":"footerHtml","typeLabel":"string | null"},"printBackground":{"type":"boolean","example":false,"description":"Set to `true` to print background graphics.","default":false,"uniqueKey":"printBackground","typeLabel":"boolean"},"landscape":{"type":"boolean","example":false,"description":"Whether to print in landscape orientation.","default":false,"uniqueKey":"landscape","typeLabel":"boolean"},"pageRanges":{"oneOf":[{"type":"string","description":"Paper ranges to print, e.g. `1-5, 8, 11-13`.","example":"1-5","uniqueKey":"pageRanges.oneOf.0","typeLabel":"string"},{"type":"null","description":"Paper ranges to print, e.g. `1-5, 8, 11-13`.","example":"1-5","uniqueKey":"pageRanges.oneOf.1","typeLabel":"null"}],"uniqueKey":"pageRanges","typeLabel":"string | null"},"format":{"type":"string","example":"letter","description":"If set, this takes priority over the `width` and `height` options.\n The sizes of each format are as follows:\n- `letter` 8.5in x 11in\n- `legal` 8.5in x 14in\n- `tabloid` 11in x 17in\n- `ledger` 17in x 11in\n- `a0` 33.1in x 46.8in\n- `a1` 23.4in x 33.1in\n- `a2` 16.54in x 23.4in\n- `a3` 11.7in x 16.54in\n- `a4` 8.27in x 11.7in\n- `a5` 5.83in x 8.27in\n- `a6` 4.13in x 5.83in","default":"letter","enum":["letter","legal","tabloid","ledger","a0","a1","a2","a3","a4","a5","a6"],"uniqueKey":"format","typeLabel":"enum\u003cstring>"},"width":{"oneOf":[{"type":"string","description":"Sets the width of paper. You can pass in a number or a string with a unit.","uniqueKey":"width.oneOf.0","typeLabel":"string"},{"type":"number","description":"Sets the width of paper. You can pass in a number or a string with a unit.","uniqueKey":"width.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"width.oneOf.2","typeLabel":"null"}],"uniqueKey":"width","typeLabel":"string | number | null"},"height":{"oneOf":[{"type":"string","description":"Sets the height of paper. You can pass in a number or a string with a unit.","uniqueKey":"height.oneOf.0","typeLabel":"string"},{"type":"number","description":"Sets the height of paper. You can pass in a number or a string with a unit.","uniqueKey":"height.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"height.oneOf.2","typeLabel":"null"}],"uniqueKey":"height","typeLabel":"string | number | null"},"preferCSSPageSize":{"type":"boolean","example":false,"description":"Give any CSS [@page](https://developer.mozilla.org/en-US/docs/Web/CSS/@page) size declared in the page priority over what is declared in the `width` or `height` or `format` option.","default":false,"uniqueKey":"preferCSSPageSize","typeLabel":"boolean"},"margin":{"oneOf":[{"type":"object","description":"Set the PDF margins.","properties":{"top":{"oneOf":[{"type":"string","uniqueKey":"margin.oneOf.0.top.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"margin.oneOf.0.top.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"margin.oneOf.0.top.oneOf.2","typeLabel":"null"}],"uniqueKey":"margin.oneOf.0.top","typeLabel":"string | number | null"},"bottom":{"oneOf":[{"type":"string","uniqueKey":"margin.oneOf.0.bottom.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"margin.oneOf.0.bottom.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"margin.oneOf.0.bottom.oneOf.2","typeLabel":"null"}],"uniqueKey":"margin.oneOf.0.bottom","typeLabel":"string | number | null"},"left":{"oneOf":[{"type":"string","uniqueKey":"margin.oneOf.0.left.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"margin.oneOf.0.left.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"margin.oneOf.0.left.oneOf.2","typeLabel":"null"}],"uniqueKey":"margin.oneOf.0.left","typeLabel":"string | number | null"},"right":{"oneOf":[{"type":"string","uniqueKey":"margin.oneOf.0.right.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"margin.oneOf.0.right.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"margin.oneOf.0.right.oneOf.2","typeLabel":"null"}],"uniqueKey":"margin.oneOf.0.right","typeLabel":"string | number | null"}},"uniqueKey":"margin.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"margin.oneOf.1","typeLabel":"null"}],"uniqueKey":"margin","typeLabel":"object | null"},"omitBackground":{"type":"boolean","example":false,"description":"Hides default white background and allows generating pdfs with transparency.","default":false,"uniqueKey":"omitBackground","typeLabel":"boolean"},"outline":{"type":"boolean","example":false,"description":"Generate document outline.\nIf this is enabled the PDF will also be tagged (accessible).","default":false,"uniqueKey":"outline","typeLabel":"boolean"},"tagged":{"type":"boolean","example":false,"description":"Generate tagged (accessible) PDF.\nThis is experimental and will increase the size of the PDF.","default":false,"uniqueKey":"tagged","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object","example":{"title":"Example","value":{"scale":1,"displayHeaderFooter":false,"headerHtml":"\u003cstring>","footerHtml":"\u003cstring>","printBackground":false,"landscape":false,"pageRanges":"1-5","format":"letter","width":"\u003cstring>","height":"\u003cstring>","preferCSSPageSize":false,"margin":{"top":"\u003cstring>","bottom":"\u003cstring>","left":"\u003cstring>","right":"\u003cstring>"},"omitBackground":false,"outline":false,"tagged":false}}},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"doczilla","siteName":"Doczilla","title":"PDF options - Doczilla","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:53:08.874Z","originalFileLocation":"api-reference/pdf-options.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"All available options for the PDF API endpoints.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Doczilla\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"PDF options - Doczilla\">\u003cmeta data-mint-head property=\"og:description\" content=\"All available options for the PDF API endpoints.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Doczilla\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.doczilla.app/api-reference/pdf-options\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://doczilla.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=PDF+options\u0026amp;description=All+available+options+for+the+PDF+API+endpoints.\u0026amp;theme=30ce5dc97ebef1a375a0ea5f\u0026amp;signature=7f55681583b33d58ca6eaf4f3ccef20174b0688f11fb5e1edc37e0126d318e36\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"PDF options - Doczilla\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"All available options for the PDF API endpoints.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://doczilla.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=PDF+options\u0026amp;description=All+available+options+for+the+PDF+API+endpoints.\u0026amp;theme=30ce5dc97ebef1a375a0ea5f\u0026amp;signature=7f55681583b33d58ca6eaf4f3ccef20174b0688f11fb5e1edc37e0126d318e36\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/doczilla/csfu4QMhBrjo3cxh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Doczilla\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#17E286\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.doczilla.app/api-reference/pdf-options\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pdf-options.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.doczilla.app/#organization\",\"name\":\"Doczilla\",\"url\":\"https://docs.doczilla.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/doczilla/yA67lL7oehM3XiOm/images/logo.svg?fit=max\u0026auto=format\u0026n=yA67lL7oehM3XiOm\u0026q=85\u0026s=29829af5c66efb627f6a2394dd7e4fcc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.doczilla.app#website\",\"name\":\"Doczilla\",\"url\":\"https://docs.doczilla.app\",\"publisher\":{\"@id\":\"https://docs.doczilla.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.doczilla.app/api-reference/pdf-options#webpage\",\"url\":\"https://docs.doczilla.app/api-reference/pdf-options\",\"name\":\"PDF options\",\"description\":\"All available options for the PDF API endpoints.\",\"dateModified\":\"2026-01-06T23:53:08.874Z\",\"isPartOf\":{\"@id\":\"https://docs.doczilla.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.doczilla.app/api-reference/pdf-options#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.doczilla.app/api-reference/pdf-options#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.doczilla.app/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PDF options\",\"item\":\"https://docs.doczilla.app/api-reference/pdf-options\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.doczilla.app/api-reference/pdf-options#apireference\",\"headline\":\"PDF options\",\"name\":\"PDF options\",\"description\":\"All available options for the PDF API endpoints.\",\"url\":\"https://docs.doczilla.app/api-reference/pdf-options\",\"mainEntityOfPage\":{\"@id\":\"https://docs.doczilla.app/api-reference/pdf-options#webpage\"},\"dateModified\":\"2026-01-06T23:53:08.874Z\",\"publisher\":{\"@id\":\"https://docs.doczilla.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.doczilla.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Doczilla\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Doczilla","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Community","href":"/community"},{"title":"Common issues","href":"/common-issues"}]},{"group":"Templating","pages":[{"title":"Templating with Handlebars","sidebarTitle":"Introduction","href":"/templating/introduction"},{"title":"Available helpers","href":"/templating/helpers"}]},{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Render PDF or Screenshots from a Template","sidebarTitle":"Templates","href":"/api-reference/templates"},{"title":"Page options","description":"All the available page options for the PDF/screenshot API endpoints.","href":"/api-reference/page-options"},{"title":"PDF options","href":"/api-reference/pdf-options"},{"title":"Screenshot options","description":"All available options for the screenshot API endpoints.","href":"/api-reference/screenshot-options"}]},{"group":"Sync/Async options","pages":[{"title":"Storage options","href":"/api-reference/storage-options"},{"title":"Webhook options","href":"/api-reference/webhook-options"},{"title":"Webhook event","href":"/api-reference/webhook-event"}]},{"group":"Screenshot","pages":[{"title":"Create screenshot","openapi":"POST /v1/screenshot","href":"/api-reference/endpoint/screenshot"},{"title":"Create screenshot sync","openapi":"POST /v1/screenshot/sync","href":"/api-reference/endpoint/sync-screenshot"},{"title":"Create screenshot async","openapi":"POST /v1/screenshot/async","href":"/api-reference/endpoint/async-screenshot"}]},{"group":"PDF","pages":[{"title":"Create PDF","openapi":"POST /v1/pdf","href":"/api-reference/endpoint/pdf"},{"title":"Create PDF sync","openapi":"POST /v1/pdf/sync","href":"/api-reference/endpoint/sync-pdf"},{"title":"Create PDF async","openapi":"POST /v1/pdf/async","href":"/api-reference/endpoint/async-pdf"}]},{"group":"Template","pages":[{"title":"From Template","openapi":"POST /v1/template/{id}","href":"/api-reference/endpoint/template"},{"title":"From Template sync","openapi":"POST /v1/template/{id}/sync","href":"/api-reference/endpoint/sync-template"},{"title":"From Template async","openapi":"POST /v1/template/{id}/async","href":"/api-reference/endpoint/async-template"}]},{"group":"Manage Templates","pages":[{"title":"Get all Templates","openapi":"GET /v1/templates","href":"/api-reference/endpoint/list-templates"},{"title":"Create new Template","openapi":"POST /v1/templates","href":"/api-reference/endpoint/create-template"},{"title":"Get Template","openapi":"GET /v1/templates/{id}","href":"/api-reference/endpoint/get-template"},{"title":"Update Template","openapi":"PUT /v1/templates/{id}","href":"/api-reference/endpoint/update-template"},{"title":"Delete Template","openapi":"DELETE /v1/templates/{id}","href":"/api-reference/endpoint/delete-template"}]}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/introduction"}]},{"tab":"Libraries","pages":[{"title":"Libraries","href":"/libraries/nodejs"}]}]},"title":"PDF options - Doczilla","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}