{"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/endpoint/async-template","slug":"/api-reference/endpoint/async-template","pageMetadata":{"title":"From Template async","openapi":"POST /v1/template/{id}/async","description":"Queue the creation of the template and call the webhook with the result.","href":"/api-reference/endpoint/async-template","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: \"Queue the creation of the template and call the webhook with the result.\"\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 provided options are optional and will be merged with those defined in the template.`})}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":"From Template async","openapi":"POST /v1/template/{id}/async","description":"Queue the creation of the template and call the webhook with the result.","href":"/api-reference/endpoint/async-template","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Queue the creation of the template and call the webhook with the result.","operationId":"template.async","parameters":["e28781f5-f472-4055-adde-f2d2844960bc"],"requestBody":"dfbe7fb4-61c0-4350-8896-b36d6663ce24","responses":{"201":"1fe345d9-c63f-4908-8bdc-d2eacaf9ad21","400":"64a581a1-8ab9-4b0a-94f9-623d4aaff369","401":"54fe90cf-0ad0-48ca-a7d2-4ade8693632f","402":"70836c4b-6ae8-4bb9-bd18-0539b0857d7f","403":"8993706a-8812-4c30-97b2-1ff4dcd64560","413":"1133f569-95de-402c-8c69-adc021af171b","429":"24335d3e-0eaf-4ddb-9e6d-3cd579d06f6d","500":"1378fdce-0218-4ad5-88ad-cec2fbd013ca"},"security":["da157906-3892-4d7c-8bbc-ef40144451d4"],"summary":"","tags":["Template"],"method":"post","type":"path","servers":["57ffd971-71ce-487f-843d-609a50a44134"],"path":"/v1/template/{id}/async","baseUrlOptions":["https://api.doczilla.app"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e28781f5-f472-4055-adde-f2d2844960bc":{"name":"id","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"webhook":{"type":"object","description":"Webhook to call when screenshot is generated.","required":["url"],"properties":{"url":{"type":"string","description":"The webhook's URL. Should include the scheme, e.g. `https://`","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"receiveType":{"type":"string","example":"URL","description":"The way this webhook wants to receive the result.\n- When `URL` is used an temporary URL will be provided to download the file (the file will be automatically deleted after 1 hour).\n- When `base64` is used make sure your webhook can receive the size of the file!","enum":["base64","URL"],"default":"URL","uniqueKey":"webhook.receiveType","typeLabel":"enum\u003cstring>"},"method":{"type":"string","example":"POST","description":"Method to use when calling the webhook.","enum":["POST","PUT"],"default":"POST","uniqueKey":"webhook.method","typeLabel":"enum\u003cstring>"},"headers":{"oneOf":[{"type":"object","description":"An object containing additional HTTP headers to be sent with the webhook. All header values must be strings.","uniqueKey":"webhook.headers.oneOf.0","typeLabel":"object"},{"type":"null","description":"An object containing additional HTTP headers to be sent with the webhook. All header values must be strings.","uniqueKey":"webhook.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.headers","typeLabel":"object | null"},"metadata":{"oneOf":[{"type":"object","description":"Additional metadata that will be inside the request when the webhook is called. All values must be strings. Max 1kB.","uniqueKey":"webhook.metadata.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional metadata that will be inside the request when the webhook is called. All values must be strings. Max 1kB.","uniqueKey":"webhook.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook.metadata","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"webhook","typeLabel":"object"},"page":{"oneOf":[{"type":"object","description":"Page options.","properties":{"url":{"oneOf":[{"type":"string","description":"URL to go to. Should include the scheme, e.g. `https://`","uniqueKey":"page.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL to go to. Should include the scheme, e.g. `https://`","uniqueKey":"page.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.url","typeLabel":"string | null"},"html":{"oneOf":[{"type":"string","description":"HTML to render. Needs to be base64 encoded!","uniqueKey":"page.oneOf.0.html.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTML to render. Needs to be base64 encoded!","uniqueKey":"page.oneOf.0.html.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.html","typeLabel":"string | null"},"htmlTemplate":{"oneOf":[{"type":"string","description":"HTML template to render, uses [Handlebars](https://handlebarsjs.com/) to render your HTML together with the provided `templateData`. Needs to be base64 encoded!","uniqueKey":"page.oneOf.0.htmlTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTML template to render, uses [Handlebars](https://handlebarsjs.com/) to render your HTML together with the provided `templateData`. Needs to be base64 encoded!","uniqueKey":"page.oneOf.0.htmlTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.htmlTemplate","typeLabel":"string | null"},"templateData":{"oneOf":[{"type":"object","description":"Template data, only used in combination with `page.htmlTemplate`.","uniqueKey":"page.oneOf.0.templateData.oneOf.0","typeLabel":"object"},{"type":"null","description":"Template data, only used in combination with `page.htmlTemplate`.","uniqueKey":"page.oneOf.0.templateData.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.templateData","typeLabel":"object | null"},"waitUntil":{"type":"string","example":"auto","description":"When to consider waiting succeeds.\n- `auto` our smart waiting option that can handle 90% of the cases.\n- `load` waits for the 'load' event.\n- `domcontentloaded` waits for the 'DOMContentLoaded' event.\n- `networkidle0` waits till there are no more than 0 network connections for at least `500` ms.\n- `networkidle2` waits till there are no more than 2 network connections for at least `500` ms. ","enum":["auto","load","domcontentloaded","networkidle0","networkidle2"],"default":"auto","uniqueKey":"page.oneOf.0.waitUntil","typeLabel":"enum\u003cstring>"},"waitForMilliseconds":{"oneOf":[{"type":"number","description":"Wait for a certain amount of milliseconds before the request continues.","minimum":0,"maximum":5000,"uniqueKey":"page.oneOf.0.waitForMilliseconds.oneOf.0","typeLabel":"number"},{"type":"null","description":"Wait for a certain amount of milliseconds before the request continues.","minimum":0,"maximum":5000,"uniqueKey":"page.oneOf.0.waitForMilliseconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.waitForMilliseconds","typeLabel":"number | null"},"waitForSelector":{"oneOf":[{"type":"object","description":"Wait for the [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors) to appear in page. If the [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors) doesn't appear after the `timeout` milliseconds of waiting, the request will continue.","required":["selector"],"properties":{"selector":{"type":"string","description":"The [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors) of an element to wait for.","minLength":1,"maxLength":1024,"isRequired":true,"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.selector","typeLabel":"string"},"options":{"oneOf":[{"type":"object","description":"Options for configuring waiting behavior.","properties":{"visible":{"type":"boolean","example":false,"description":"Wait for the selected element to be present in DOM and to be visibleAn element is considered to be visible if all of the following is true:\n- the element has [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n- the element has a non-empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)\n- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is not `hidden` or `collapse`","default":false,"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options.oneOf.0.visible","typeLabel":"boolean"},"hidden":{"type":"boolean","example":false,"description":"Wait for the selected element to not be found in the DOM or to be hidden.An element is considered to be hidden if at least one of the following is true:\n- the element has no [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)\n- the element has an empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)\n- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is `hidden` or `collapse`","default":false,"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options.oneOf.0.hidden","typeLabel":"boolean"},"timeout":{"type":"number","example":10000,"description":"Maximum time to wait in milliseconds.","minimum":1,"maximum":30000,"default":10000,"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options.oneOf.0.timeout","typeLabel":"number"}},"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0.options","typeLabel":"object | null"}},"uniqueKey":"page.oneOf.0.waitForSelector.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.0.waitForSelector.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.waitForSelector","typeLabel":"object | null"},"waitForFunction":{"oneOf":[{"type":"object","description":"Wait for the `pageFunction` to execute in the page. If the `pageFunction` doesn't execute successfully after the `timeout` milliseconds of waiting, the request will continue.","required":["pageFunction"],"properties":{"pageFunction":{"type":"string","example":"window.innerWidth \u003c 100","description":"Function to be evaluated in browser context until it returns a truthy value.","minLength":1,"maxLength":1024,"isRequired":true,"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.pageFunction","typeLabel":"string"},"options":{"oneOf":[{"type":"object","description":"Options for configuring waiting behavior.","properties":{"polling":{"oneOf":[{"type":"string","description":"An interval at which the `pageFunction` is executed, defaults to `raf`. If `polling` is a number, then it is treated as an interval in milliseconds at which the function would be executed. If `polling` is a string, then it can be one of the following values:\n- `raf` to constantly execute `pageFunction` in `requestAnimationFrame` callback. This is the tightest polling mode which is suitable to observe styling changes.\n- `mutation` to execute `pageFunction` on every DOM mutation.","default":"raf","enum":["raf","mutation"],"example":"raf","uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.0.polling.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"number","description":"An interval at which the `pageFunction` is executed, defaults to `raf`. If `polling` is a number, then it is treated as an interval in milliseconds at which the function would be executed. If `polling` is a string, then it can be one of the following values:\n- `raf` to constantly execute `pageFunction` in `requestAnimationFrame` callback. This is the tightest polling mode which is suitable to observe styling changes.\n- `mutation` to execute `pageFunction` on every DOM mutation.","default":"raf","example":"raf","uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.0.polling.oneOf.1","typeLabel":"number"}],"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.0.polling","typeLabel":"enum\u003cstring> | number"},"timeout":{"type":"number","example":10000,"description":"Maximum time to wait in milliseconds.","minimum":1,"maximum":30000,"default":10000,"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.0.timeout","typeLabel":"number"}},"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0.options","typeLabel":"object | null"}},"uniqueKey":"page.oneOf.0.waitForFunction.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.0.waitForFunction.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.waitForFunction","typeLabel":"object | null"},"headers":{"oneOf":[{"type":"object","example":{"x-foo":"bar"},"description":"An object containing additional HTTP headers to be sent with every request. All header values must be strings.","uniqueKey":"page.oneOf.0.headers.oneOf.0","typeLabel":"object"},{"type":"null","example":{"x-foo":"bar"},"description":"An object containing additional HTTP headers to be sent with every request. All header values must be strings.","uniqueKey":"page.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.headers","typeLabel":"object | null"},"adblock":{"type":"boolean","example":true,"description":"Use our build-in adblocker.","default":true,"uniqueKey":"page.oneOf.0.adblock","typeLabel":"boolean"},"javascript":{"type":"boolean","example":true,"description":"Whether or not to enable JavaScript on the page.","default":true,"uniqueKey":"page.oneOf.0.javascript","typeLabel":"boolean"},"cookies":{"oneOf":[{"description":"Cookies added to the page, Also accepted as string inside `headers.cookie`.","type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Cookie name.","minLength":1,"maxLength":1024,"isRequired":true,"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","description":"Cookie value.","minLength":1,"maxLength":4096,"isRequired":true,"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].value","typeLabel":"string"},"domain":{"type":"string","description":"Cookie domain.","minLength":1,"maxLength":512,"isRequired":true,"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].domain","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie. Should include the scheme, e.g. `https://`","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie. Should include the scheme, e.g. `https://`","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].url","typeLabel":"string | null"},"path":{"oneOf":[{"type":"string","description":"Cookie path.","minLength":1,"maxLength":512,"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cookie path.","minLength":1,"maxLength":512,"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].path","typeLabel":"string | null"},"secure":{"oneOf":[{"type":"boolean","description":"`true` if cookie is secure.","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].secure.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"`true` if cookie is secure.","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].secure.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].secure","typeLabel":"boolean | null"},"httpOnly":{"oneOf":[{"type":"boolean","description":"`true` if cookie is http-only.","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].httpOnly.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"`true` if cookie is http-only.","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].httpOnly.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].httpOnly","typeLabel":"boolean | null"},"sameSite":{"oneOf":[{"type":"string","description":"Cookie SameSite type.","enum":["Strict","Lax","None"],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].sameSite.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Cookie SameSite type.","enum":["Strict","Lax","None"],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].sameSite.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].sameSite","typeLabel":"enum\u003cstring> | null"},"expires":{"oneOf":[{"type":"number","description":"Cookie expiration date (UTC time in seconds, counted from January 1, 1970.), session cookie if not set. ","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].expires.oneOf.0","typeLabel":"number"},{"type":"null","description":"Cookie expiration date (UTC time in seconds, counted from January 1, 1970.), session cookie if not set. ","uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].expires.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX].expires","typeLabel":"number | null"}},"required":["name","value","domain"],"uniqueKey":"page.oneOf.0.cookies.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"page.oneOf.0.cookies.oneOf.0","typeLabel":"object[]"},{"description":"Cookies added to the page, Also accepted as string inside `headers.cookie`.","type":"null","items":{"type":"object","properties":{"name":{"type":"string","description":"Cookie name.","minLength":1,"maxLength":1024},"value":{"type":"string","description":"Cookie value.","minLength":1,"maxLength":4096},"domain":{"type":"string","description":"Cookie domain.","minLength":1,"maxLength":512},"url":{"oneOf":[{"type":"string","description":"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie. Should include the scheme, e.g. `https://`"},{"type":"null","description":"The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie. Should include the scheme, e.g. `https://`"}]},"path":{"oneOf":[{"type":"string","description":"Cookie path.","minLength":1,"maxLength":512},{"type":"null","description":"Cookie path.","minLength":1,"maxLength":512}]},"secure":{"oneOf":[{"type":"boolean","description":"`true` if cookie is secure."},{"type":"null","description":"`true` if cookie is secure."}]},"httpOnly":{"oneOf":[{"type":"boolean","description":"`true` if cookie is http-only."},{"type":"null","description":"`true` if cookie is http-only."}]},"sameSite":{"oneOf":[{"type":"string","description":"Cookie SameSite type.","enum":["Strict","Lax","None"]},{"type":"null","description":"Cookie SameSite type.","enum":["Strict","Lax","None"]}]},"expires":{"oneOf":[{"type":"number","description":"Cookie expiration date (UTC time in seconds, counted from January 1, 1970.), session cookie if not set. "},{"type":"null","description":"Cookie expiration date (UTC time in seconds, counted from January 1, 1970.), session cookie if not set. "}]}},"required":["name","value","domain"]},"uniqueKey":"page.oneOf.0.cookies.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.cookies","typeLabel":"object[] | null"},"authentication":{"oneOf":[{"type":"object","description":"Provide credentials for `HTTP authentication`.","required":["username","password"],"properties":{"username":{"type":"string","minLength":1,"maxLength":1024,"isRequired":true,"uniqueKey":"page.oneOf.0.authentication.oneOf.0.username","typeLabel":"string"},"password":{"type":"string","minLength":1,"maxLength":4096,"isRequired":true,"uniqueKey":"page.oneOf.0.authentication.oneOf.0.password","typeLabel":"string"}},"uniqueKey":"page.oneOf.0.authentication.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.0.authentication.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.authentication","typeLabel":"object | null"},"colorScheme":{"oneOf":[{"type":"string","description":"Color-scheme to set on the page.","maxLength":20,"uniqueKey":"page.oneOf.0.colorScheme.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color-scheme to set on the page.","maxLength":20,"uniqueKey":"page.oneOf.0.colorScheme.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.colorScheme","typeLabel":"string | null"},"mediaType":{"oneOf":[{"type":"string","description":"Changes the CSS media type of the page.","enum":["screen","print"],"uniqueKey":"page.oneOf.0.mediaType.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Changes the CSS media type of the page.","enum":["screen","print"],"uniqueKey":"page.oneOf.0.mediaType.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.mediaType","typeLabel":"enum\u003cstring> | null"},"timezone":{"oneOf":[{"type":"string","description":"Changes the timezone of the page. See [ICU’s metaZones.txt](https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt) for a list of supported timezone IDs.","uniqueKey":"page.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Changes the timezone of the page. See [ICU’s metaZones.txt](https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt) for a list of supported timezone IDs.","uniqueKey":"page.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"page.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"page.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"page.oneOf.1","typeLabel":"null"}],"uniqueKey":"page","typeLabel":"object | null"},"screenshot":{"oneOf":[{"type":"object","description":"Screenshot options, only used if Template's output is \"SCREENSHOT\".","properties":{"type":{"oneOf":[{"type":"string","example":"png","enum":["png","jpeg","webp"],"default":"png","uniqueKey":"screenshot.oneOf.0.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","example":"png","enum":["png","jpeg","webp"],"default":"png","uniqueKey":"screenshot.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.type","typeLabel":"enum\u003cstring> | null"},"device":{"oneOf":[{"type":"string","example":"Macbook Pro 16","description":"Device preset to use, will not be set when `viewport` option is provided!","enum":["Blackberry PlayBook","Blackberry PlayBook landscape","BlackBerry Z30","BlackBerry Z30 landscape","Galaxy Note 3","Galaxy Note 3 landscape","Galaxy Note II","Galaxy Note II landscape","Galaxy S III","Galaxy S III landscape","Galaxy S5","Galaxy S5 landscape","Galaxy S8","Galaxy S8 landscape","Galaxy S9+","Galaxy S9+ landscape","Galaxy Tab S4","Galaxy Tab S4 landscape","iPad","iPad landscape","iPad (gen 6)","iPad (gen 6) landscape","iPad (gen 7)","iPad (gen 7) landscape","iPad Mini","iPad Mini landscape","iPad Pro","iPad Pro landscape","iPad Pro 11","iPad Pro 11 landscape","iPhone 4","iPhone 4 landscape","iPhone 5","iPhone 5 landscape","iPhone 6","iPhone 6 landscape","iPhone 6 Plus","iPhone 6 Plus landscape","iPhone 7","iPhone 7 landscape","iPhone 7 Plus","iPhone 7 Plus landscape","iPhone 8","iPhone 8 landscape","iPhone 8 Plus","iPhone 8 Plus landscape","iPhone SE","iPhone SE landscape","iPhone X","iPhone X landscape","iPhone XR","iPhone XR landscape","iPhone 11","iPhone 11 landscape","iPhone 11 Pro","iPhone 11 Pro landscape","iPhone 11 Pro Max","iPhone 11 Pro Max landscape","iPhone 12","iPhone 12 landscape","iPhone 12 Pro","iPhone 12 Pro landscape","iPhone 12 Pro Max","iPhone 12 Pro Max landscape","iPhone 12 Mini","iPhone 12 Mini landscape","iPhone 13","iPhone 13 landscape","iPhone 13 Pro","iPhone 13 Pro landscape","iPhone 13 Pro Max","iPhone 13 Pro Max landscape","iPhone 13 Mini","iPhone 13 Mini landscape","iPhone 14","iPhone 14 landscape","iPhone 14 Plus","iPhone 14 Plus landscape","iPhone 14 Pro","iPhone 14 Pro landscape","iPhone 14 Pro Max","iPhone 14 Pro Max landscape","iPhone 15","iPhone 15 landscape","iPhone 15 Plus","iPhone 15 Plus landscape","iPhone 15 Pro","iPhone 15 Pro landscape","iPhone 15 Pro Max","iPhone 15 Pro Max landscape","JioPhone 2","JioPhone 2 landscape","Kindle Fire HDX","Kindle Fire HDX landscape","LG Optimus L70","LG Optimus L70 landscape","Microsoft Lumia 550","Microsoft Lumia 950","Microsoft Lumia 950 landscape","Nexus 10","Nexus 10 landscape","Nexus 4","Nexus 4 landscape","Nexus 5","Nexus 5 landscape","Nexus 5X","Nexus 5X landscape","Nexus 6","Nexus 6 landscape","Nexus 6P","Nexus 6P landscape","Nexus 7","Nexus 7 landscape","Nokia Lumia 520","Nokia Lumia 520 landscape","Nokia N9","Nokia N9 landscape","Pixel 2","Pixel 2 landscape","Pixel 2 XL","Pixel 2 XL landscape","Pixel 3","Pixel 3 landscape","Pixel 4","Pixel 4 landscape","Pixel 4a (5G)","Pixel 4a (5G) landscape","Pixel 5","Pixel 5 landscape","Moto G4","Moto G4 landscape","Macbook Pro 13","Macbook Pro 15","Macbook Pro 16","iMac 21","iMac 21 4K","iMac 24 4.5K","iMac 27","iMac 27 5K"],"default":"Macbook Pro 16","uniqueKey":"screenshot.oneOf.0.device.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","example":"Macbook Pro 16","description":"Device preset to use, will not be set when `viewport` option is provided!","enum":["Blackberry PlayBook","Blackberry PlayBook landscape","BlackBerry Z30","BlackBerry Z30 landscape","Galaxy Note 3","Galaxy Note 3 landscape","Galaxy Note II","Galaxy Note II landscape","Galaxy S III","Galaxy S III landscape","Galaxy S5","Galaxy S5 landscape","Galaxy S8","Galaxy S8 landscape","Galaxy S9+","Galaxy S9+ landscape","Galaxy Tab S4","Galaxy Tab S4 landscape","iPad","iPad landscape","iPad (gen 6)","iPad (gen 6) landscape","iPad (gen 7)","iPad (gen 7) landscape","iPad Mini","iPad Mini landscape","iPad Pro","iPad Pro landscape","iPad Pro 11","iPad Pro 11 landscape","iPhone 4","iPhone 4 landscape","iPhone 5","iPhone 5 landscape","iPhone 6","iPhone 6 landscape","iPhone 6 Plus","iPhone 6 Plus landscape","iPhone 7","iPhone 7 landscape","iPhone 7 Plus","iPhone 7 Plus landscape","iPhone 8","iPhone 8 landscape","iPhone 8 Plus","iPhone 8 Plus landscape","iPhone SE","iPhone SE landscape","iPhone X","iPhone X landscape","iPhone XR","iPhone XR landscape","iPhone 11","iPhone 11 landscape","iPhone 11 Pro","iPhone 11 Pro landscape","iPhone 11 Pro Max","iPhone 11 Pro Max landscape","iPhone 12","iPhone 12 landscape","iPhone 12 Pro","iPhone 12 Pro landscape","iPhone 12 Pro Max","iPhone 12 Pro Max landscape","iPhone 12 Mini","iPhone 12 Mini landscape","iPhone 13","iPhone 13 landscape","iPhone 13 Pro","iPhone 13 Pro landscape","iPhone 13 Pro Max","iPhone 13 Pro Max landscape","iPhone 13 Mini","iPhone 13 Mini landscape","iPhone 14","iPhone 14 landscape","iPhone 14 Plus","iPhone 14 Plus landscape","iPhone 14 Pro","iPhone 14 Pro landscape","iPhone 14 Pro Max","iPhone 14 Pro Max landscape","iPhone 15","iPhone 15 landscape","iPhone 15 Plus","iPhone 15 Plus landscape","iPhone 15 Pro","iPhone 15 Pro landscape","iPhone 15 Pro Max","iPhone 15 Pro Max landscape","JioPhone 2","JioPhone 2 landscape","Kindle Fire HDX","Kindle Fire HDX landscape","LG Optimus L70","LG Optimus L70 landscape","Microsoft Lumia 550","Microsoft Lumia 950","Microsoft Lumia 950 landscape","Nexus 10","Nexus 10 landscape","Nexus 4","Nexus 4 landscape","Nexus 5","Nexus 5 landscape","Nexus 5X","Nexus 5X landscape","Nexus 6","Nexus 6 landscape","Nexus 6P","Nexus 6P landscape","Nexus 7","Nexus 7 landscape","Nokia Lumia 520","Nokia Lumia 520 landscape","Nokia N9","Nokia N9 landscape","Pixel 2","Pixel 2 landscape","Pixel 2 XL","Pixel 2 XL landscape","Pixel 3","Pixel 3 landscape","Pixel 4","Pixel 4 landscape","Pixel 4a (5G)","Pixel 4a (5G) landscape","Pixel 5","Pixel 5 landscape","Moto G4","Moto G4 landscape","Macbook Pro 13","Macbook Pro 15","Macbook Pro 16","iMac 21","iMac 21 4K","iMac 24 4.5K","iMac 27","iMac 27 5K"],"default":"Macbook Pro 16","uniqueKey":"screenshot.oneOf.0.device.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.device","typeLabel":"enum\u003cstring> | null"},"viewport":{"oneOf":[{"type":"object","description":"Define an custom viewport, when defined the `device` option will be ignored!","required":["width","height"],"properties":{"width":{"type":"number","description":"The page width in CSS pixels.","minimum":0,"maximum":4480,"isRequired":true,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.width","typeLabel":"number"},"height":{"type":"number","description":"The page height in CSS pixels.","minimum":0,"maximum":2520,"isRequired":true,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.height","typeLabel":"number"},"deviceScaleFactor":{"type":"number","example":1,"description":"Specify device scale factor. See [devicePixelRatio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio) for more info.","default":1,"minimum":1,"maximum":3,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.deviceScaleFactor","typeLabel":"number"},"isMobile":{"type":"boolean","example":false,"description":"Whether the `meta viewport` tag is taken into account.","default":false,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.isMobile","typeLabel":"boolean"},"hasTouch":{"type":"boolean","example":false,"description":"Specify if the viewport supports touch events.","default":false,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.hasTouch","typeLabel":"boolean"},"isLandscape":{"type":"boolean","example":false,"description":"Specifies if the viewport is in landscape mode.","default":false,"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0.isLandscape","typeLabel":"boolean"}},"uniqueKey":"screenshot.oneOf.0.viewport.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"screenshot.oneOf.0.viewport.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.viewport","typeLabel":"object | null"},"fullPage":{"type":"boolean","example":false,"description":"When `true`, takes a screenshot of the full page.","default":false,"uniqueKey":"screenshot.oneOf.0.fullPage","typeLabel":"boolean"},"fromSurface":{"type":"boolean","example":true,"description":"Capture the screenshot from the surface, rather than the view.","default":true,"uniqueKey":"screenshot.oneOf.0.fromSurface","typeLabel":"boolean"},"omitBackground":{"type":"boolean","example":false,"description":"Hides default white background and allows capturing screenshots with transparency.","default":false,"uniqueKey":"screenshot.oneOf.0.omitBackground","typeLabel":"boolean"},"optimizeForSpeed":{"type":"boolean","example":true,"default":true,"uniqueKey":"screenshot.oneOf.0.optimizeForSpeed","typeLabel":"boolean"},"quality":{"oneOf":[{"type":"number","description":"Quality of the image, between 0-100. Not applicable to `png` images.","minimum":0,"maximum":100,"uniqueKey":"screenshot.oneOf.0.quality.oneOf.0","typeLabel":"number"},{"type":"null","description":"Quality of the image, between 0-100. Not applicable to `png` images.","minimum":0,"maximum":100,"uniqueKey":"screenshot.oneOf.0.quality.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.quality","typeLabel":"number | null"},"captureBeyondViewport":{"type":"boolean","example":false,"description":"Capture the screenshot beyond the viewport. `false` if there is no `clip`. `true` otherwise.","default":false,"uniqueKey":"screenshot.oneOf.0.captureBeyondViewport","typeLabel":"boolean"},"clip":{"oneOf":[{"type":"object","description":"Specifies the region of the page to clip.","required":["width","height","x","y"],"properties":{"width":{"type":"number","description":"The width of the element in pixels.","minimum":0,"maximum":4480,"isRequired":true,"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0.width","typeLabel":"number"},"height":{"type":"number","description":"The height of the element in pixels.","minimum":0,"maximum":2520,"isRequired":true,"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0.height","typeLabel":"number"},"x":{"type":"number","isRequired":true,"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0.y","typeLabel":"number"},"scale":{"type":"number","example":1,"default":1,"minimum":0,"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0.scale","typeLabel":"number"}},"uniqueKey":"screenshot.oneOf.0.clip.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"screenshot.oneOf.0.clip.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.clip","typeLabel":"object | null"},"element":{"oneOf":[{"type":"string","description":"It captures the DOM element matching the given CSS [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors). This will overwrite the `clip` property and set `fullPage` to `false`. Will wait for the element to become visible for a maximum of 15 seconds.","uniqueKey":"screenshot.oneOf.0.element.oneOf.0","typeLabel":"string"},{"type":"null","description":"It captures the DOM element matching the given CSS [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors). This will overwrite the `clip` property and set `fullPage` to `false`. Will wait for the element to become visible for a maximum of 15 seconds.","uniqueKey":"screenshot.oneOf.0.element.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.element","typeLabel":"string | null"},"overlay":{"oneOf":[{"type":"object","description":"Add an overlay to the image. Cannot be used together with the `fullPage` option!","properties":{"background":{"oneOf":[{"type":"string","description":"Color to apply as background, can be an an hexadecimal/rgb/rgba color code or CSS gradient.","uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.background.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color to apply as background, can be an an hexadecimal/rgb/rgba color code or CSS gradient.","uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.background","typeLabel":"string | null"},"filter":{"oneOf":[{"type":"string","example":"none","description":"Apply [CSS Filter](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) to background.","default":"none","uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.filter.oneOf.0","typeLabel":"string"},{"type":"null","example":"none","description":"Apply [CSS Filter](https://developer.mozilla.org/en-US/docs/Web/CSS/filter) to background.","default":"none","uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.filter.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.filter","typeLabel":"string | null"},"margin":{"type":"number","example":0.2,"description":"Margin to apply.","default":0.2,"minimum":0,"maximum":1,"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.margin","typeLabel":"number"},"browser":{"oneOf":[{"type":"string","description":"Browser to apply.","enum":["light","dark"],"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.browser.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Browser to apply.","enum":["light","dark"],"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.browser.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.browser","typeLabel":"enum\u003cstring> | null"},"screenshotBorderRadius":{"type":"number","example":0,"description":"The border radius, specified in CSS pixels, is applied to the screenshot only when the `device` option is not set.","default":0,"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0.screenshotBorderRadius","typeLabel":"number"}},"uniqueKey":"screenshot.oneOf.0.overlay.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"screenshot.oneOf.0.overlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot.oneOf.0.overlay","typeLabel":"object | null"}},"uniqueKey":"screenshot.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"screenshot.oneOf.1","typeLabel":"null"}],"uniqueKey":"screenshot","typeLabel":"object | null"},"pdf":{"oneOf":[{"type":"object","description":"Pdf options, only used if Template's output is \"PDF\".","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":"pdf.oneOf.0.scale","typeLabel":"number"},"displayHeaderFooter":{"type":"boolean","example":false,"description":"Whether to show the header and footer.","default":false,"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.headerHtml.oneOf.1","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.footerHtml.oneOf.1","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.footerHtml","typeLabel":"string | null"},"printBackground":{"type":"boolean","example":false,"description":"Set to `true` to print background graphics.","default":false,"uniqueKey":"pdf.oneOf.0.printBackground","typeLabel":"boolean"},"landscape":{"type":"boolean","example":false,"description":"Whether to print in landscape orientation.","default":false,"uniqueKey":"pdf.oneOf.0.landscape","typeLabel":"boolean"},"pageRanges":{"oneOf":[{"type":"string","example":"1-5","description":"Paper ranges to print, e.g. `1-5, 8, 11-13`.","uniqueKey":"pdf.oneOf.0.pageRanges.oneOf.0","typeLabel":"string"},{"type":"null","example":"1-5","description":"Paper ranges to print, e.g. `1-5, 8, 11-13`.","uniqueKey":"pdf.oneOf.0.pageRanges.oneOf.1","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.width.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.width.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.height.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.height.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.preferCSSPageSize","typeLabel":"boolean"},"margin":{"oneOf":[{"type":"object","description":"Set the PDF margins.","properties":{"top":{"oneOf":[{"type":"string","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.top.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.top.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.top.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.margin.oneOf.0.top","typeLabel":"string | number | null"},"bottom":{"oneOf":[{"type":"string","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.bottom.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.bottom.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.bottom.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.margin.oneOf.0.bottom","typeLabel":"string | number | null"},"left":{"oneOf":[{"type":"string","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.left.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.left.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.left.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.margin.oneOf.0.left","typeLabel":"string | number | null"},"right":{"oneOf":[{"type":"string","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.right.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.right.oneOf.1","typeLabel":"number"},{"type":"null","uniqueKey":"pdf.oneOf.0.margin.oneOf.0.right.oneOf.2","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.margin.oneOf.0.right","typeLabel":"string | number | null"}},"uniqueKey":"pdf.oneOf.0.margin.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"pdf.oneOf.0.margin.oneOf.1","typeLabel":"null"}],"uniqueKey":"pdf.oneOf.0.margin","typeLabel":"object | null"},"omitBackground":{"type":"boolean","example":false,"description":"Hides default white background and allows generating pdfs with transparency.","default":false,"uniqueKey":"pdf.oneOf.0.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":"pdf.oneOf.0.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":"pdf.oneOf.0.tagged","typeLabel":"boolean"}},"uniqueKey":"pdf.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"pdf.oneOf.1","typeLabel":"null"}],"uniqueKey":"pdf","typeLabel":"object | null"},"storage":{"oneOf":[{"type":"object","required":["preSignedUrl"],"properties":{"preSignedUrl":{"type":"string","description":"Pre-signed url to upload the generated pdf/screenshot to. Should include the scheme, e.g. `https://`","isRequired":true,"uniqueKey":"storage.oneOf.0.preSignedUrl","typeLabel":"string"}},"uniqueKey":"storage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"storage.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage","typeLabel":"object | null"}},"required":["webhook"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"webhook":{"url":"\u003cstring>","receiveType":"URL","method":"POST","headers":{},"metadata":{}},"page":{"url":"\u003cstring>","html":"\u003cstring>","htmlTemplate":"\u003cstring>","templateData":{},"waitUntil":"auto","waitForMilliseconds":2500,"waitForSelector":{"selector":"\u003cstring>","options":{"visible":false,"hidden":false,"timeout":10000}},"waitForFunction":{"pageFunction":"window.innerWidth \u003c 100","options":{"polling":"raf","timeout":10000}},"headers":{"x-foo":"bar"},"adblock":true,"javascript":true,"cookies":[{"name":"\u003cstring>","value":"\u003cstring>","domain":"\u003cstring>","url":"\u003cstring>","path":"\u003cstring>","secure":true,"httpOnly":true,"expires":123}],"authentication":{"username":"\u003cstring>","password":"\u003cstring>"},"colorScheme":"\u003cstring>","timezone":"\u003cstring>"},"screenshot":{"type":"png","device":"Macbook Pro 16","viewport":{"width":2240,"height":1260,"deviceScaleFactor":1,"isMobile":false,"hasTouch":false,"isLandscape":false},"fullPage":false,"fromSurface":true,"omitBackground":false,"optimizeForSpeed":true,"quality":50,"captureBeyondViewport":false,"clip":{"width":2240,"height":1260,"x":123,"y":123,"scale":1},"element":"\u003cstring>","overlay":{"background":"\u003cstring>","filter":"none","margin":0.2,"screenshotBorderRadius":0}},"pdf":{"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},"storage":{"preSignedUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1fe345d9-c63f-4908-8bdc-d2eacaf9ad21":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"5KqYNUjbxRJ-rKbIeGsXo","description":"Id of the queued job.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"status":{"type":"string","example":"PENDING","description":"Status of the job.","enum":["PENDING","RUNNING","FAILED","COMPLETED"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"required":["id","status"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"5KqYNUjbxRJ-rKbIeGsXo","status":"PENDING"}}},"exampleType":"generated"}},"exampleType":"generated"},"64a581a1-8ab9-4b0a-94f9-623d4aaff369":{"description":"Validations failed!","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Validations failed!","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","example":"api.validation","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"fields.additionalProperties","typeLabel":"string"},"example":{"page.url":"must be a URL address"},"isRequired":true,"uniqueKey":"fields","typeLabel":"object"}},"required":["message","code","fields"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Validations failed!","code":"api.validation","fields":{"page.url":"must be a URL address"}}}},"exampleType":"generated"}},"exampleType":"generated"},"54fe90cf-0ad0-48ca-a7d2-4ade8693632f":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"70836c4b-6ae8-4bb9-bd18-0539b0857d7f":{"description":"Reached subscription limit!","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Reached subscription limit!","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Reached subscription limit!"}}},"exampleType":"generated"}},"exampleType":"generated"},"8993706a-8812-4c30-97b2-1ff4dcd64560":{"description":"Token has no active subscription!","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Token has no active subscription!","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Token has no active subscription!"}}},"exampleType":"generated"}},"exampleType":"generated"},"1133f569-95de-402c-8c69-adc021af171b":{"description":"Request body is too large","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Request body is too large","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Request body is too large"}}},"exampleType":"generated"}},"exampleType":"generated"},"24335d3e-0eaf-4ddb-9e6d-3cd579d06f6d":{"description":"Too Many Requests!","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Too Many Requests!","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Too Many Requests!"}}},"exampleType":"generated"}},"exampleType":"generated"},"1378fdce-0218-4ad5-88ad-cec2fbd013ca":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Internal server error"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"da157906-3892-4d7c-8bbc-ef40144451d4":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]}}},"servers":{"57ffd971-71ce-487f-843d-609a50a44134":{"url":"https://api.doczilla.app","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"doczilla","siteName":"Doczilla","title":"From Template async - Doczilla","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:53:07.617Z","originalFileLocation":"api-reference/endpoint/async-template.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=\"Queue the creation of the template and call the webhook with the result.\">\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=\"From Template async - Doczilla\">\u003cmeta data-mint-head property=\"og:description\" content=\"Queue the creation of the template and call the webhook with the result.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Doczilla\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.doczilla.app/api-reference/endpoint/async-template\">\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=Template\u0026amp;title=From+Template+async\u0026amp;description=Queue+the+creation+of+the+template+and+call+the+webhook+with+the+result.\u0026amp;theme=30ce5dc97ebef1a375a0ea5f\u0026amp;signature=c172be3f884e9e9e1a807216c64d8a95bf121f337d04ef0962e0450fe6ef9ebb\">\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=\"From Template async - Doczilla\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Queue the creation of the template and call the webhook with the result.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://doczilla.mintlify.app/_mintlify/api/og/v2?division=Template\u0026amp;title=From+Template+async\u0026amp;description=Queue+the+creation+of+the+template+and+call+the+webhook+with+the+result.\u0026amp;theme=30ce5dc97ebef1a375a0ea5f\u0026amp;signature=c172be3f884e9e9e1a807216c64d8a95bf121f337d04ef0962e0450fe6ef9ebb\">\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/endpoint/async-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/async-template.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/endpoint/async-template#webpage\",\"url\":\"https://docs.doczilla.app/api-reference/endpoint/async-template\",\"name\":\"From Template async\",\"description\":\"Queue the creation of the template and call the webhook with the result.\",\"dateModified\":\"2026-01-06T23:53:07.617Z\",\"isPartOf\":{\"@id\":\"https://docs.doczilla.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.doczilla.app/api-reference/endpoint/async-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.doczilla.app/api-reference/endpoint/async-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Template\",\"item\":\"https://docs.doczilla.app/api-reference/endpoint/template\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"From Template async\",\"item\":\"https://docs.doczilla.app/api-reference/endpoint/async-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.doczilla.app/api-reference/endpoint/async-template#apireference\",\"headline\":\"From Template async\",\"name\":\"From Template async\",\"description\":\"Queue the creation of the template and call the webhook with the result.\",\"url\":\"https://docs.doczilla.app/api-reference/endpoint/async-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.doczilla.app/api-reference/endpoint/async-template#webpage\"},\"dateModified\":\"2026-01-06T23:53:07.617Z\",\"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","href":"/api-reference/page-options"},{"title":"PDF options","href":"/api-reference/pdf-options"},{"title":"Screenshot options","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","description":"Create the template and directly return a document URL instead of the raw document. Optionally writes the document directly into your bucket, bypassing the need for our temporary storage.","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","description":"Get all 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":"From Template async - 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"]}