import osimport requestssession = requests.Session()# update(), not assignment: assigning a new dict drops requests' default headerssession.headers.update({ "Authorization": f"Bearer {os.environ['PRINTAPP_SECRET_KEY']}", "User-Agent": "MyStore-Integration/1.0",})account = session.get("https://api.print.app/v2/account", timeout=30).json()
A missing, unknown, revoked or expired key answers 401 with the code unauthorized. If the account is suspended for an unpaid invoice, requests answer 403 with account_suspended.
Rotate a key
Rotating replaces a key without downtime. Click Rotate on the key and choose how long the old key keeps working: stop it now, or keep it for 1 hour, 24 hours or 7 days. You get a new key with the same label, shown once. Deploy it to your server before the old one stops.If a key may have leaked, rotate it with Stop the old key now.
Revoke a key
Click the trash icon on a key. Requests using it are refused within a minute. Revoking can’t be undone.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Print.App Documentation","colors":{"primary":"#00AC13","light":"#00CD17","dark":"#008B10"},"logo":{"light":"https://mintcdn.com/printapp/8ZfPxlJeGBl6BLAD/logo/light.svg?fit=max\u0026auto=format\u0026n=8ZfPxlJeGBl6BLAD\u0026q=85\u0026s=f2dc8c61d71358f310658fb8b3756287","dark":"https://mintcdn.com/printapp/8ZfPxlJeGBl6BLAD/logo/dark.svg?fit=max\u0026auto=format\u0026n=8ZfPxlJeGBl6BLAD\u0026q=85\u0026s=74402b22cc2694c2d990b57771f9422c"},"favicon":"https://mintcdn.com/printapp/CwAEBcf61sfC7N4Y/favicon.svg?fit=max\u0026auto=format\u0026n=CwAEBcf61sfC7N4Y\u0026q=85\u0026s=cb170a7b273f77e0921c312176e48c99","navbar":{"links":[{"href":"https://discord.gg/XNdtdFxNdE","label":"Community"}],"primary":{"type":"button","label":"Dashboard","href":"https://admin.print.app"}},"footer":{"socials":{"twitter":"https://twitter.com/print_dot_app","instagram":"https://github.com/print_dot_app","github":"https://github.com/printapp","discord":"https://discord.gg/XNdtdFxNdE"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"printapp","hasAudioNarration":false,"actualSubdomain":"printapp","customDomains":["print.app"],"gitSource":{"type":"github","owner":"printapp","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6aee29ef3dd0f82bef4f9995"},"entitlements":{},"buildId":"6af702e5d091d1e54976cd62","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API References","count":112},{"language":"default","tag":"Endpoints","count":100},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Design Guides","count":64},{"language":"default","tag":"Designs","count":35},{"language":"default","tag":"Print Options","count":24},{"language":"default","tag":"Platforms","count":18},{"language":"default","tag":"Guides","count":12},{"language":"default","tag":"Gang Sheet Builder","count":12},{"language":"default","tag":"Configuration","count":8}],"searchSettings":{"fullPageSearch":true}},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/authentication","slug":"/api-reference/v2/authentication","pageMetadata":{"title":"Authentication","description":"Your Domain Key runs in the browser; secret keys run on your server.","href":"/api-reference/v2/authentication"},"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: \"Your Domain Key runs in the browser; secret keys run on your server.\"\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{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Print.App uses two kinds of keys.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Key`}),_jsx(_components.th,{children:`Looks like`}),_jsx(_components.th,{children:`Where it runs`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Domain Key`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`dom_…`})}),_jsx(_components.td,{children:`In page JavaScript, to load the editor. Public: safe to ship in browser code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Secret key`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sk_…`})}),_jsxs(_components.td,{children:[`On your server, to call the REST API. `,_jsx(_components.strong,{children:`Never put it in browser code`}),`, a mobile app or a public repository.`]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The older `,_jsx(_components.strong,{children:`Auth Key`}),` shown under Domains is for the v1 endpoints and the store plugins. The v2 API does not accept it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-secret-key`,children:`Create a secret key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In the `,_jsx(_components.a,{href:`https://admin.print.app`,children:`Print.App admin`}),`, open `,_jsx(_components.strong,{children:`Domains`}),` and expand your current domain.`]}),`\n`,_jsxs(_components.li,{children:[`Next to `,_jsx(_components.strong,{children:`Secret keys`}),`, click `,_jsx(_components.strong,{children:`Manage`}),`, then `,_jsx(_components.strong,{children:`New secret key`}),`. Give it a label, such as `,_jsx(_components.em,{children:`Production server`}),`.`]}),`\n`,_jsx(_components.li,{children:`Copy the key straight away. It is shown only once: Print.App stores a hash of it, not the key itself.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Keys belong to the domain that is current when you create them. An account can hold up to 10 secret keys at a time.`}),`\n`,_jsx(Heading,{level:`2`,id:`use-it`,children:`Use it`}),`\n`,_jsx(_components.p,{children:`Send the key as a bearer token on every request:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.print.app/v2/account`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$PRINTAPP_SECRET_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.print.app/v2/account'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`process`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`PRINTAPP_SECRET_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` account`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`6`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` curl_init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.print.app/v2/account'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_setopt_array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_HTTPHEADER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Bearer '`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` getenv`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'PRINTAPP_SECRET_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` CURLOPT_RETURNTRANSFER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$account`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` json_decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`curl_exec`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`10`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`session `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.Session()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# update(), not assignment: assigning a new dict drops requests' default headers`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`session.headers.update({`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'PRINTAPP_SECRET_KEY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"User-Agent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MyStore-Integration/1.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`account `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` session.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.print.app/v2/account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`timeout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).json()`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`A missing, unknown, revoked or expired key answers `,_jsx(_components.code,{children:`401`}),` with the code `,_jsx(_components.code,{children:`unauthorized`}),`. If the account is suspended for an unpaid invoice, requests answer `,_jsx(_components.code,{children:`403`}),` with `,_jsx(_components.code,{children:`account_suspended`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`rotate-a-key`,children:`Rotate a key`}),`\n`,_jsxs(_components.p,{children:[`Rotating replaces a key without downtime. Click `,_jsx(_components.strong,{children:`Rotate`}),` on the key and choose how long the old key keeps working: stop it now, or keep it for 1 hour, 24 hours or 7 days. You get a new key with the same label, shown once. Deploy it to your server before the old one stops.`]}),`\n`,_jsxs(_components.p,{children:[`If a key may have leaked, rotate it with `,_jsx(_components.strong,{children:`Stop the old key now`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`revoke-a-key`,children:`Revoke a key`}),`\n`,_jsx(_components.p,{children:`Click the trash icon on a key. Requests using it are refused within a minute. Revoking can’t be undone.`})]})}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":"Authentication","description":"Your Domain Key runs in the browser; secret keys run on your server.","href":"/api-reference/v2/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a secret key","slug":"create-a-secret-key","depth":2,"children":[]},{"title":"Use it","slug":"use-it","depth":2,"children":[]},{"title":"Rotate a key","slug":"rotate-a-key","depth":2,"children":[]},{"title":"Revoke a key","slug":"revoke-a-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/printapp/5668d2dd18a12f25/ga-consent.js"],"subdomain":"printapp","siteName":"Print.App Documentation","title":"Authentication - Print.App Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T16:40:45.025Z","originalFileLocation":"api-reference/v2/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Your Domain Key runs in the browser; secret keys run on your server.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Print.App Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_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=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Print.App Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Your Domain Key runs in the browser; secret keys run on your server.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Print.App Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://print.app/docs/api-reference/v2/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://printapp.mintlify.site/docs/_mintlify/api/og/v2?division=REST+API+%28v2%29\u0026amp;title=Authentication\u0026amp;description=Your+Domain+Key+runs+in+the+browser%3B+secret+keys+run+on+your+server.\u0026amp;theme=634763f1f287d389464516ed\u0026amp;signature=f187551a058a89a6f58eeb345a00d6dace1bcf275a5d5d46e731c4c0606736c0\">\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=\"Authentication - Print.App Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Your Domain Key runs in the browser; secret keys run on your server.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://printapp.mintlify.site/docs/_mintlify/api/og/v2?division=REST+API+%28v2%29\u0026amp;title=Authentication\u0026amp;description=Your+Domain+Key+runs+in+the+browser%3B+secret+keys+run+on+your+server.\u0026amp;theme=634763f1f287d389464516ed\u0026amp;signature=f187551a058a89a6f58eeb345a00d6dace1bcf275a5d5d46e731c4c0606736c0\">\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=\"/docs/mintlify-assets/_mintlify/favicons/printapp/QZ41IcGsgV91EEVQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Print.App Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00AC13\">\u003clink data-mint-head rel=\"canonical\" href=\"https://print.app/docs/api-reference/v2/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/v2/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://print.app/#organization\",\"name\":\"Print.App Documentation\",\"url\":\"https://print.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/printapp/8ZfPxlJeGBl6BLAD/logo/light.svg?fit=max\u0026auto=format\u0026n=8ZfPxlJeGBl6BLAD\u0026q=85\u0026s=f2dc8c61d71358f310658fb8b3756287\"}},{\"@type\":\"WebSite\",\"@id\":\"https://print.app/docs#website\",\"name\":\"Print.App Documentation\",\"url\":\"https://print.app/docs\",\"publisher\":{\"@id\":\"https://print.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://print.app/docs/api-reference/v2/authentication#webpage\",\"url\":\"https://print.app/docs/api-reference/v2/authentication\",\"name\":\"Authentication\",\"description\":\"Your Domain Key runs in the browser; secret keys run on your server.\",\"dateModified\":\"2026-11-12T16:40:45.025Z\",\"isPartOf\":{\"@id\":\"https://print.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://print.app/docs/api-reference/v2/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://print.app/docs/api-reference/v2/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API (v2)\",\"item\":\"https://print.app/docs/api-reference/v2/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://print.app/docs/api-reference/v2/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://print.app/docs/api-reference/v2/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Your Domain Key runs in the browser; secret keys run on your server.\",\"url\":\"https://print.app/docs/api-reference/v2/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://print.app/docs/api-reference/v2/authentication#webpage\"},\"dateModified\":\"2026-11-12T16:40:45.025Z\",\"publisher\":{\"@id\":\"https://print.app/#organization\"},\"isPartOf\":{\"@id\":\"https://print.app/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Print.App Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Print.App Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/v2/authentication.md","siteName":"Print.App Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Design Guides","pages":[{"title":"Design Guides","href":"/guides/designs/about-designs"}]},{"tab":"API References","groups":[{"group":"REST API (v2)","pages":[{"title":"API overview","description":"Base URL, authentication and conventions of the Print.App REST API.","href":"/api-reference/v2/introduction"},{"title":"Authentication","href":"/api-reference/v2/authentication"},{"title":"Errors \u0026 rate limits","description":"The error shape, every error code, and how to handle rate limits.","href":"/api-reference/v2/errors"},{"title":"Pagination","href":"/api-reference/v2/pagination"},{"title":"OpenAPI spec","href":"/api-reference/v2/openapi"},{"title":"MCP reference","href":"/api-reference/v2/mcp"}]},{"group":"Guides","pages":[{"title":"Verify a project before fulfilling","href":"/api-reference/v2/verify-a-project"},{"title":"Create a design through the API","href":"/api-reference/v2/create-a-design"},{"title":"Automate fulfilment from WooCommerce","href":"/api-reference/guides/woocommerce-fulfilment"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"title":"Get the account","openapi":"openapi.json GET /v2/account","href":"/api-reference/v2/account/get"}]},{"group":"Designs","pages":[{"title":"List designs","openapi":"openapi.json GET /v2/designs","href":"/api-reference/v2/designs/list"},{"title":"Create a design","openapi":"openapi.json POST /v2/designs","href":"/api-reference/v2/designs/create-design"},{"title":"Get a design","openapi":"openapi.json GET /v2/designs/{id}","href":"/api-reference/v2/designs/get"},{"title":"Update a design","openapi":"openapi.json PATCH /v2/designs/{id}","href":"/api-reference/v2/designs/update-design"},{"title":"Delete a design","openapi":"openapi.json DELETE /v2/designs/{id}","href":"/api-reference/v2/designs/delete-design"},{"title":"Duplicate a design","openapi":"openapi.json POST /v2/designs/{id}/duplicate","href":"/api-reference/v2/designs/duplicate-design"},{"title":"Get page content","openapi":"openapi.json GET /v2/designs/{id}/content","href":"/api-reference/v2/designs/get-design-content"},{"title":"Edit page content","openapi":"openapi.json POST /v2/designs/{id}/ops","href":"/api-reference/v2/designs/apply-ops"},{"title":"Add pages","openapi":"openapi.json POST /v2/designs/{id}/pages","href":"/api-reference/v2/designs/add-pages"},{"title":"Update a page","openapi":"openapi.json PATCH /v2/designs/{id}/pages/{index}","href":"/api-reference/v2/designs/update-page"},{"title":"Delete a page","openapi":"openapi.json DELETE /v2/designs/{id}/pages/{index}","href":"/api-reference/v2/designs/delete-page"},{"title":"Attach a connector","openapi":"openapi.json POST /v2/designs/{id}/connectors","href":"/api-reference/v2/designs/attach-connector"},{"title":"Detach a connector","openapi":"openapi.json DELETE /v2/designs/{id}/connectors/{connectorId}","href":"/api-reference/v2/designs/detach-connector"}]},{"group":"Design folders","pages":[{"title":"List design folders","openapi":"openapi.json GET /v2/design-folders","href":"/api-reference/v2/design-folders/list-design-folders"},{"title":"Create a design folder","openapi":"openapi.json POST /v2/design-folders","href":"/api-reference/v2/design-folders/create-design-folder"},{"title":"Get a design folder","openapi":"openapi.json GET /v2/design-folders/{id}","href":"/api-reference/v2/design-folders/get-design-folder"},{"title":"Update a design folder","openapi":"openapi.json PATCH /v2/design-folders/{id}","href":"/api-reference/v2/design-folders/update-design-folder"},{"title":"Delete a design folder","openapi":"openapi.json DELETE /v2/design-folders/{id}","href":"/api-reference/v2/design-folders/delete-design-folder"},{"title":"Add a design to a folder","openapi":"openapi.json POST /v2/design-folders/{id}/designs","href":"/api-reference/v2/design-folders/add-design-to-folder"},{"title":"Remove a design from a folder","openapi":"openapi.json DELETE /v2/design-folders/{id}/designs/{designId}","href":"/api-reference/v2/design-folders/remove-design-from-folder"}]},{"group":"Files","pages":[{"title":"List files","openapi":"openapi.json GET /v2/files","href":"/api-reference/v2/files/list-files"},{"title":"Upload a file from a URL","openapi":"openapi.json POST /v2/files","href":"/api-reference/v2/files/create-file"},{"title":"Start a direct upload","openapi":"openapi.json POST /v2/files/uploads","href":"/api-reference/v2/files/create-file-upload"},{"title":"Get a file","openapi":"openapi.json GET /v2/files/{id}","href":"/api-reference/v2/files/get-file"},{"title":"Update a file","openapi":"openapi.json PATCH /v2/files/{id}","href":"/api-reference/v2/files/update-file"},{"title":"Delete a file","openapi":"openapi.json DELETE /v2/files/{id}","href":"/api-reference/v2/files/delete-file"}]},{"group":"Graphic folders","pages":[{"title":"List graphic folders","openapi":"openapi.json GET /v2/graphic-folders","href":"/api-reference/v2/graphic-folders/list-graphic-folders"},{"title":"Create a graphic folder","openapi":"openapi.json POST /v2/graphic-folders","href":"/api-reference/v2/graphic-folders/create-graphic-folder"},{"title":"Get a graphic folder","openapi":"openapi.json GET /v2/graphic-folders/{id}","href":"/api-reference/v2/graphic-folders/get-graphic-folder"},{"title":"Update a graphic folder","openapi":"openapi.json PATCH /v2/graphic-folders/{id}","href":"/api-reference/v2/graphic-folders/update-graphic-folder"},{"title":"Delete a graphic folder","openapi":"openapi.json DELETE /v2/graphic-folders/{id}","href":"/api-reference/v2/graphic-folders/delete-graphic-folder"},{"title":"Add a file to a folder","openapi":"openapi.json POST /v2/graphic-folders/{id}/files","href":"/api-reference/v2/graphic-folders/add-file-to-folder"},{"title":"Remove a file from a folder","openapi":"openapi.json DELETE /v2/graphic-folders/{id}/files/{fileId}","href":"/api-reference/v2/graphic-folders/remove-file-from-folder"}]},{"group":"Fonts","pages":[{"title":"List fonts","openapi":"openapi.json GET /v2/fonts","href":"/api-reference/v2/fonts/list-fonts"},{"title":"Add a font","openapi":"openapi.json POST /v2/fonts","href":"/api-reference/v2/fonts/create-font"},{"title":"Get a font","openapi":"openapi.json GET /v2/fonts/{family}","href":"/api-reference/v2/fonts/get-font"},{"title":"Remove a font","openapi":"openapi.json DELETE /v2/fonts/{family}","href":"/api-reference/v2/fonts/delete-font"}]},{"group":"Palettes","pages":[{"title":"List palettes","openapi":"openapi.json GET /v2/palettes","href":"/api-reference/v2/palettes/list-palettes"},{"title":"Create a palette","openapi":"openapi.json POST /v2/palettes","href":"/api-reference/v2/palettes/create-palette"},{"title":"Get a palette","openapi":"openapi.json GET /v2/palettes/{id}","href":"/api-reference/v2/palettes/get-palette"},{"title":"Update a palette","openapi":"openapi.json PATCH /v2/palettes/{id}","href":"/api-reference/v2/palettes/update-palette"},{"title":"Delete a palette","openapi":"openapi.json DELETE /v2/palettes/{id}","href":"/api-reference/v2/palettes/delete-palette"}]},{"group":"Products","pages":[{"title":"List products","openapi":"openapi.json GET /v2/products","href":"/api-reference/v2/products/list-products"},{"title":"List your store's products","openapi":"openapi.json GET /v2/store-products","href":"/api-reference/v2/products/list-store-products"},{"title":"Get a product","openapi":"openapi.json GET /v2/products/{productId}","href":"/api-reference/v2/products/get-product"},{"title":"Assign designs to a product","openapi":"openapi.json PUT /v2/products/{productId}","href":"/api-reference/v2/products/set-product"},{"title":"Clear a product","openapi":"openapi.json DELETE /v2/products/{productId}","href":"/api-reference/v2/products/delete-product"}]},{"group":"Projects","pages":[{"title":"List projects","openapi":"openapi.json GET /v2/projects","href":"/api-reference/v2/projects/list"},{"title":"Create a project","openapi":"openapi.json POST /v2/projects","href":"/api-reference/v2/projects/create-project"},{"title":"Get a project","openapi":"openapi.json GET /v2/projects/{id}","href":"/api-reference/v2/projects/get"},{"title":"Update a project","openapi":"openapi.json PATCH /v2/projects/{id}","href":"/api-reference/v2/projects/update-project"},{"title":"Delete a project","openapi":"openapi.json DELETE /v2/projects/{id}","href":"/api-reference/v2/projects/delete-project"},{"title":"Get project page content","openapi":"openapi.json GET /v2/projects/{id}/content","href":"/api-reference/v2/projects/get-project-content"},{"title":"Edit project page content","openapi":"openapi.json POST /v2/projects/{id}/ops","href":"/api-reference/v2/projects/apply-project-ops"}]},{"group":"Links","pages":[{"title":"Create a project URL","openapi":"openapi.json POST /v2/links","href":"/api-reference/v2/links/create-link"},{"title":"Get a project URL","openapi":"openapi.json GET /v2/links/{id}","href":"/api-reference/v2/links/get-link"},{"title":"Expire a project URL","openapi":"openapi.json DELETE /v2/links/{id}","href":"/api-reference/v2/links/delete-link"}]},{"group":"Connectors","pages":[{"title":"List connectors","openapi":"openapi.json GET /v2/connectors","href":"/api-reference/v2/connectors/list-connectors"},{"title":"Create a connector","openapi":"openapi.json POST /v2/connectors","href":"/api-reference/v2/connectors/create-connector"},{"title":"Get a connector","openapi":"openapi.json GET /v2/connectors/{id}","href":"/api-reference/v2/connectors/get-connector"},{"title":"Update a connector","openapi":"openapi.json PATCH /v2/connectors/{id}","href":"/api-reference/v2/connectors/update-connector"},{"title":"Delete a connector","openapi":"openapi.json DELETE /v2/connectors/{id}","href":"/api-reference/v2/connectors/delete-connector"},{"title":"Test a connector","openapi":"openapi.json POST /v2/connectors/test","href":"/api-reference/v2/connectors/test-connector"},{"title":"Read a product page","openapi":"openapi.json GET /v2/product-page","href":"/api-reference/v2/connectors/inspect-product-page"}]},{"group":"Print Options","pages":[{"title":"Get Print Options for the store","openapi":"openapi.json GET /v2/print-options","href":"/api-reference/v2/print-options/get-print-options"},{"title":"List option set templates","openapi":"openapi.json GET /v2/print-options/templates","href":"/api-reference/v2/print-options/list-option-set-templates"},{"title":"Get an option set template","openapi":"openapi.json GET /v2/print-options/templates/{key}","href":"/api-reference/v2/print-options/get-option-set-template"},{"title":"Price choices on an option set","openapi":"openapi.json POST /v2/print-options/quote","href":"/api-reference/v2/print-options/quote-option-set"},{"title":"List option sets","openapi":"openapi.json GET /v2/option-sets","href":"/api-reference/v2/print-options/list-option-sets"},{"title":"Create an option set","openapi":"openapi.json POST /v2/option-sets","href":"/api-reference/v2/print-options/create-option-set"},{"title":"Get an option set","openapi":"openapi.json GET /v2/option-sets/{id}","href":"/api-reference/v2/print-options/get-option-set"},{"title":"Update an option set","openapi":"openapi.json PATCH /v2/option-sets/{id}","href":"/api-reference/v2/print-options/update-option-set"},{"title":"Delete an option set","openapi":"openapi.json DELETE /v2/option-sets/{id}","href":"/api-reference/v2/print-options/delete-option-set"}]},{"group":"Resource profiles","pages":[{"title":"List resource profiles","openapi":"openapi.json GET /v2/resource-profiles","href":"/api-reference/v2/resource-profiles/list-resource-profiles"},{"title":"Create a resource profile","openapi":"openapi.json POST /v2/resource-profiles","href":"/api-reference/v2/resource-profiles/create-resource-profile"},{"title":"Get a resource profile","openapi":"openapi.json GET /v2/resource-profiles/{id}","href":"/api-reference/v2/resource-profiles/get-resource-profile"},{"title":"Update a resource profile","openapi":"openapi.json PATCH /v2/resource-profiles/{id}","href":"/api-reference/v2/resource-profiles/update-resource-profile"},{"title":"Delete a resource profile","openapi":"openapi.json DELETE /v2/resource-profiles/{id}","href":"/api-reference/v2/resource-profiles/delete-resource-profile"}]},{"group":"PDF profiles","pages":[{"title":"List PDF profiles","openapi":"openapi.json GET /v2/pdf-profiles","href":"/api-reference/v2/pdf-profiles/list-pdf-profiles"},{"title":"Create a PDF profile","openapi":"openapi.json POST /v2/pdf-profiles","href":"/api-reference/v2/pdf-profiles/create-pdf-profile"},{"title":"Get a PDF profile","openapi":"openapi.json GET /v2/pdf-profiles/{id}","href":"/api-reference/v2/pdf-profiles/get-pdf-profile"},{"title":"Update a PDF profile","openapi":"openapi.json PATCH /v2/pdf-profiles/{id}","href":"/api-reference/v2/pdf-profiles/update-pdf-profile"},{"title":"Delete a PDF profile","openapi":"openapi.json DELETE /v2/pdf-profiles/{id}","href":"/api-reference/v2/pdf-profiles/delete-pdf-profile"}]},{"group":"Imposition rules","pages":[{"title":"List imposition rules","openapi":"openapi.json GET /v2/imposition-rules","href":"/api-reference/v2/imposition-rules/list-imposition-rules"},{"title":"Create an imposition rule","openapi":"openapi.json POST /v2/imposition-rules","href":"/api-reference/v2/imposition-rules/create-imposition-rule"},{"title":"Get an imposition rule","openapi":"openapi.json GET /v2/imposition-rules/{id}","href":"/api-reference/v2/imposition-rules/get-imposition-rule"},{"title":"Update an imposition rule","openapi":"openapi.json PATCH /v2/imposition-rules/{id}","href":"/api-reference/v2/imposition-rules/update-imposition-rule"},{"title":"Delete an imposition rule","openapi":"openapi.json DELETE /v2/imposition-rules/{id}","href":"/api-reference/v2/imposition-rules/delete-imposition-rule"}]},{"group":"3D scenes","pages":[{"title":"List 3D scenes","openapi":"openapi.json GET /v2/scenes","href":"/api-reference/v2/3d-scenes/list-scenes"},{"title":"Get a 3D scene","openapi":"openapi.json GET /v2/scenes/{id}","href":"/api-reference/v2/3d-scenes/get-scene"}]},{"group":"Library","pages":[{"title":"Search library designs","openapi":"openapi.json GET /v2/library/designs","href":"/api-reference/v2/library/list-library-designs"},{"title":"Get a library design","openapi":"openapi.json GET /v2/library/designs/{id}","href":"/api-reference/v2/library/get-library-design"},{"title":"Import a library design","openapi":"openapi.json POST /v2/library/designs/{id}/import","href":"/api-reference/v2/library/import-library-design"},{"title":"List library kits","openapi":"openapi.json GET /v2/library/kits","href":"/api-reference/v2/library/list-library-kits"},{"title":"Search library graphics","openapi":"openapi.json GET /v2/library/graphics","href":"/api-reference/v2/library/list-library-graphics"},{"title":"Import a library kit","openapi":"openapi.json POST /v2/library/kits/{id}/import","href":"/api-reference/v2/library/import-library-kit"},{"title":"Import library graphics","openapi":"openapi.json POST /v2/library/graphics/import","href":"/api-reference/v2/library/import-library-graphics"}]},{"group":"Settings","pages":[{"title":"Get the settings","openapi":"openapi.json GET /v2/settings","href":"/api-reference/v2/settings/get-settings"},{"title":"Update the settings","openapi":"openapi.json PATCH /v2/settings","href":"/api-reference/v2/settings/update-settings"}]}]},{"group":"Editor","pages":[{"title":"Basic Installation","href":"/api-reference/editor/installation"},{"title":"Configuration","href":"/api-reference/editor/configuration"},{"title":"Generate Embed Code","href":"/api-reference/editor/embed"}]}]}]},"basePath":"","title":"Authentication - Print.App Documentation","buildId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","deploymentId":"dpl_Aw98ji4XvBsgtZwL1VrkUF9ehFqz","dynamics":[],"chunks":[]}