{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Dub","colors":{"primary":"#155dfc","light":"#155dfc","dark":"#155dfc"},"logo":{"light":"https://mintcdn.com/dub/NXC-v7aRqVVKRt1Q/logos/wordmark.svg?fit=max\u0026auto=format\u0026n=NXC-v7aRqVVKRt1Q\u0026q=85\u0026s=0f477cb77c06e4d3090acd888b427326","dark":"https://mintcdn.com/dub/NXC-v7aRqVVKRt1Q/logos/wordmark-dark.svg?fit=max\u0026auto=format\u0026n=NXC-v7aRqVVKRt1Q\u0026q=85\u0026s=825bae25fa971c0a55ffaa851442def1","href":"https://dub.co/home"},"favicon":"https://mintcdn.com/dub/S5CJNHicyu5NWQ7r/logos/favicon.png?fit=max\u0026auto=format\u0026n=S5CJNHicyu5NWQ7r\u0026q=85\u0026s=4b3bd73e3bc71569770af330a0dd1f9c","api":{"openapi":"https://api.dub.co"},"navbar":{"links":[{"href":"https://dub.co/contact/support","label":"Contact support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.dub.co/register"}},"footer":{"socials":{"github":"https://github.com/dubinc/dub","linkedin":"https://www.linkedin.com/company/dubinc","twitter":"https://twitter.com/dubdotco","website":"https://dub.co"}},"fonts":{"heading":{"family":"Satoshi","weight":700,"source":"fonts/Satoshi-Variable.woff2","format":"woff2"}},"integrations":{"plausible":{"domain":"dub.co"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dub","hasAudioNarration":false,"actualSubdomain":"dub","customDomains":["dub.co"],"gitSource":{"type":"github","owner":"dubinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b10365e42b8a1a13bb935e0","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Help Center","count":120},{"language":"default","tag":"API Reference","count":85},{"language":"default","tag":"Dub API","count":84},{"language":"default","tag":"MANAGING YOUR LINKS","count":54},{"language":"default","tag":"MANAGING A PROGRAM","count":38},{"language":"default","tag":"Developer Docs","count":37},{"language":"default","tag":"DUB PARTNERS API","count":34},{"language":"default","tag":"Links","count":26},{"language":"default","tag":"Webhooks","count":25},{"language":"default","tag":"CONCEPTS","count":23}]},"assistantConfig":{"deflection":{"enabled":false,"email":"support@dub.co","showHelpButton":false}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"mcp-server.css","content":".mcp-tools td:first-child code{white-space:nowrap}.mcp-tools th:nth-child(2),.mcp-tools td:nth-child(2){width:1%;min-width:0;white-space:nowrap}.mcp-prompts .prompt{flex-wrap:nowrap}"}]}
{"page":{"pagePath":"docs/api-reference/endpoint/retrieve-a-qr-code","slug":"/docs/api-reference/endpoint/retrieve-a-qr-code","pageMetadata":{"title":"Retrieve a QR code","og:title":"Get a QR code with the Dub API - API Reference","openapi":"get /qr","description":"Retrieve a QR code for a link.","href":"/docs/api-reference/endpoint/retrieve-a-qr-code"},"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: \"Retrieve a QR code for a link.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Retrieve a QR code","og:title":"Get a QR code with the Dub API - API Reference","openapi":"get /qr","description":"Retrieve a QR code for a link.","href":"/docs/api-reference/endpoint/retrieve-a-qr-code"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dub/269f9b4976f6c2a3/dub-analytics.js","/_mintlify/custom/dub/1ffaeceafecf0293/dub-support.js"],"openApiReferenceData":{"operation":{"operationId":"getQRCode","x-speakeasy-name-override":"get","summary":"Retrieve a QR code","description":"Retrieve a QR code for a link.","tags":["QR Codes"],"parameters":["1f314451-139a-468a-8829-4ae1150fbaeb","45f33127-407a-424e-a3df-952d16191723","89727a4a-cf44-4364-98ae-72bfc86b5134","fc369c76-35aa-4dce-9262-c1bfa937fcd8","88853708-1c06-42ba-b31b-1166725a1085","9f76450a-bbd5-4290-9120-a09e4556c597","32524eeb-44e8-4067-88ea-d2a6b5fefbae","8b81ebea-c781-4f3b-b581-7351490cb2c0","7ad65ba2-6251-4c1b-8443-d38c35161a06","841a1321-ad66-40ef-9653-326a907bc6f3"],"responses":{"200":"2cd13e73-ab9c-45ed-8033-ae441937466e","400":"c5fe18eb-eb38-4d20-a8db-5224c034db36","401":"fafa3596-8c8c-47c0-b265-b11dfdead5bf","403":"f57f3430-7978-4624-a2b0-cdf3b5efaf78","404":"524b0d04-0d7f-46a2-b2e2-01122bf3f26f","409":"02b45b0f-5fbe-48c3-bf9e-9060bcfaeb16","410":"5fedfd98-d8c8-4c07-a3f3-6659fbc53f83","422":"adfd88df-f6d5-4ba0-bbd6-80ba7651ef71","429":"eb2d382d-a60d-428a-bee4-26f0e3d6c679","500":"9b7c505e-0c9e-44db-b299-de22b61a27f7"},"method":"get","type":"path","servers":["1ecc3c07-2f03-46da-8f78-32d67c1a1b11"],"security":[],"path":"/qr","baseUrlOptions":["https://api.dub.co"],"title":"Retrieve a QR code","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"1f314451-139a-468a-8829-4ae1150fbaeb":{"in":"query","name":"url","schema":{"description":"The URL to generate a QR code for.","type":"string","maxLength":32000,"isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The URL to generate a QR code for."},"45f33127-407a-424e-a3df-952d16191723":{"in":"query","name":"logo","schema":{"description":"The logo to include in the QR code. Can only be used with a paid plan on Dub.","type":"string","uniqueKey":"","typeLabel":"string"},"description":"The logo to include in the QR code. Can only be used with a paid plan on Dub."},"89727a4a-cf44-4364-98ae-72bfc86b5134":{"in":"query","name":"size","schema":{"default":600,"description":"The size of the QR code in pixels. Defaults to `600` if not provided.","type":"number","uniqueKey":"","typeLabel":"number"},"description":"The size of the QR code in pixels. Defaults to `600` if not provided."},"fc369c76-35aa-4dce-9262-c1bfa937fcd8":{"in":"query","name":"level","schema":{"default":"L","description":"The level of error correction to use for the QR code. Defaults to `L` if not provided.","type":"string","enum":["L","M","Q","H"],"uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The level of error correction to use for the QR code. Defaults to `L` if not provided."},"88853708-1c06-42ba-b31b-1166725a1085":{"in":"query","name":"fgColor","schema":{"default":"#000000","description":"The foreground color of the QR code in hex format. Defaults to `#000000` if not provided.","type":"string","uniqueKey":"","typeLabel":"string"},"description":"The foreground color of the QR code in hex format. Defaults to `#000000` if not provided."},"9f76450a-bbd5-4290-9120-a09e4556c597":{"in":"query","name":"bgColor","schema":{"description":"The background color of the QR code in hex format. Defaults to `#ffffff` for `png`. When omitted for `svg`, the background is transparent.","type":"string","uniqueKey":"","typeLabel":"string"},"description":"The background color of the QR code in hex format. Defaults to `#ffffff` for `png`. When omitted for `svg`, the background is transparent."},"32524eeb-44e8-4067-88ea-d2a6b5fefbae":{"in":"query","name":"hideLogo","schema":{"default":false,"description":"Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.","type":"boolean","uniqueKey":"","typeLabel":"boolean"},"description":"Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub."},"8b81ebea-c781-4f3b-b581-7351490cb2c0":{"in":"query","name":"margin","schema":{"default":2,"description":"The size of the margin around the QR code. Defaults to 2 if not provided.","type":"number","uniqueKey":"","typeLabel":"number"},"description":"The size of the margin around the QR code. Defaults to 2 if not provided."},"7ad65ba2-6251-4c1b-8443-d38c35161a06":{"in":"query","name":"includeMargin","schema":{"default":true,"description":"DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size.","deprecated":true,"type":"boolean","uniqueKey":"","typeLabel":"boolean"},"description":"DEPRECATED: Margin is included by default. Use the `margin` prop to customize the margin size."},"841a1321-ad66-40ef-9653-326a907bc6f3":{"in":"query","name":"format","schema":{"default":"png","description":"The format of the QR code. Defaults to `png` if not provided.","type":"string","enum":["png","svg"],"uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The format of the QR code. Defaults to `png` if not provided."}},"responses":{"2cd13e73-ab9c-45ed-8033-ae441937466e":{"description":"The QR code","content":{"image/png":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"},"image/svg+xml":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"c5fe18eb-eb38-4d20-a8db-5224c034db36":{"description":"The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).","content":{"application/json":{"schema":{"x-speakeasy-name-override":"BadRequest","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"],"description":"A short code indicating the error code returned.","example":"bad_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#bad-request","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"bad_request","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#bad-request"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fafa3596-8c8c-47c0-b265-b11dfdead5bf":{"description":"Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". That is, the client must authenticate itself to get the requested response.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"Unauthorized","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"],"description":"A short code indicating the error code returned.","example":"unauthorized","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#unauthorized","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#unauthorized"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f57f3430-7978-4624-a2b0-cdf3b5efaf78":{"description":"The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"Forbidden","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["forbidden"],"description":"A short code indicating the error code returned.","example":"forbidden","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#forbidden","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"forbidden","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#forbidden"}}}},"exampleType":"generated"}},"exampleType":"generated"},"524b0d04-0d7f-46a2-b2e2-01122bf3f26f":{"description":"The server cannot find the requested resource.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"NotFound","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"],"description":"A short code indicating the error code returned.","example":"not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#not-found","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#not-found"}}}},"exampleType":"generated"}},"exampleType":"generated"},"02b45b0f-5fbe-48c3-bf9e-9060bcfaeb16":{"description":"This response is sent when a request conflicts with the current state of the server.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"Conflict","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["conflict"],"description":"A short code indicating the error code returned.","example":"conflict","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#conflict","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"conflict","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#conflict"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5fedfd98-d8c8-4c07-a3f3-6659fbc53f83":{"description":"This response is sent when the requested content has been permanently deleted from server, with no forwarding address.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"InviteExpired","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invite_expired"],"description":"A short code indicating the error code returned.","example":"invite_expired","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#invite-expired","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invite_expired","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#invite-expired"}}}},"exampleType":"generated"}},"exampleType":"generated"},"adfd88df-f6d5-4ba0-bbd6-80ba7651ef71":{"description":"The request was well-formed but was unable to be followed due to semantic errors.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"UnprocessableEntity","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unprocessable_entity"],"description":"A short code indicating the error code returned.","example":"unprocessable_entity","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#unprocessable-entity","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unprocessable_entity","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#unprocessable-entity"}}}},"exampleType":"generated"}},"exampleType":"generated"},"eb2d382d-a60d-428a-bee4-26f0e3d6c679":{"description":"The user has sent too many requests in a given amount of time (\"rate limiting\")","content":{"application/json":{"schema":{"x-speakeasy-name-override":"RateLimitExceeded","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limit_exceeded"],"description":"A short code indicating the error code returned.","example":"rate_limit_exceeded","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#rate-limit-exceeded","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limit_exceeded","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#rate-limit-exceeded"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9b7c505e-0c9e-44db-b299-de22b61a27f7":{"description":"The server has encountered a situation it does not know how to handle.","content":{"application/json":{"schema":{"x-speakeasy-name-override":"InternalServerError","type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_server_error"],"description":"A short code indicating the error code returned.","example":"internal_server_error","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"x-speakeasy-error-message":true,"type":"string","description":"A human readable explanation of what went wrong.","example":"The requested resource was not found.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","description":"A link to our documentation with more details about this error code","example":"https://dub.co/docs/api-reference/errors#internal-server-error","uniqueKey":"error.doc_url","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"internal_server_error","message":"The requested resource was not found.","doc_url":"https://dub.co/docs/api-reference/errors#internal-server-error"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"1ecc3c07-2f03-46da-8f78-32d67c1a1b11":{"url":"https://api.dub.co","description":"Production API"}}},"originalFileLocation":"https://api.dub.co"},"subdomain":"dub","siteName":"Dub","title":"Get a QR code with the Dub API - API Reference","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-23T21:28:41.974Z","originalFileLocation":"docs/api-reference/endpoint/retrieve-a-qr-code.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=\"Retrieve a QR code for a link.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_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/dub/1aGPzlRe7hx45hfC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a QR code with the Dub API - API Reference\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a QR code for a link.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dub.co/docs/api-reference/endpoint/retrieve-a-qr-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dub.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Retrieve+a+QR+code\u0026amp;description=Retrieve+a+QR+code+for+a+link.\u0026amp;theme=f39cdc5d19dec9d0cd82aba3\u0026amp;signature=08de2f668dfd8a660e48b4f993fa5f46b2ca7c15ba594d4931e5b4b14e176974\">\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=\"Get a QR code with the Dub API - API Reference\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a QR code for a link.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dub.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Retrieve+a+QR+code\u0026amp;description=Retrieve+a+QR+code+for+a+link.\u0026amp;theme=f39cdc5d19dec9d0cd82aba3\u0026amp;signature=08de2f668dfd8a660e48b4f993fa5f46b2ca7c15ba594d4931e5b4b14e176974\">\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/dub/1aGPzlRe7hx45hfC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155dfc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dub.co/docs/api-reference/endpoint/retrieve-a-qr-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/endpoint/retrieve-a-qr-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/endpoint/retrieve-a-qr-code.md","siteName":"Dub","nav":{"global":null,"tabs":[{"tab":"Developer Docs","icon":"books","groups":[{"group":"GETTING STARTED","pages":[{"title":"Introduction","href":"/docs"},{"title":"How attribution works","href":"/docs/concepts/attribution"},{"group":"Web installation","expanded":true,"pages":[{"title":"Server-side tracking","sidebarTitle":"Server-side tracking (recommended)","href":"/docs/quickstart/server"},{"title":"Client-side tracking","href":"/docs/quickstart/client"}]},{"group":"Mobile installation","pages":[{"title":"Swift","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/swift"},{"title":"React Native","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/react-native"}]},{"group":"Third-party integrations","expanded":true,"pages":[{"title":"Stripe","href":"/docs/integrations/stripe"},{"title":"Google Tag Manager","href":"/docs/integrations/google-tag-manager"},{"title":"Shopify","href":"/docs/integrations/shopify"},{"title":"HubSpot","href":"/docs/integrations/hubspot"},{"title":"Segment","href":"/docs/integrations/segment"}]},{"title":"Testing your implementation","href":"/docs/testing"}]},{"group":"CONCEPTS","pages":[{"group":"Conversion tracking","pages":[{"title":"Deferred lead tracking","href":"/docs/conversions/leads/deferred"},{"title":"Direct sale tracking","href":"/docs/conversions/sales/direct"},{"title":"Tracking refunds","href":"/docs/conversions/sales/refunds"},{"group":"Auth framework guides","pages":[{"title":"Clerk","href":"/docs/conversions/leads/clerk"},{"title":"Better Auth","href":"/docs/conversions/leads/better-auth"},{"title":"Auth0","href":"/docs/conversions/leads/auth0"},{"title":"Supabase","href":"/docs/conversions/leads/supabase"},{"title":"NextAuth.js","href":"/docs/conversions/leads/next-auth"},{"title":"Appwrite","href":"/docs/conversions/leads/appwrite"}]}]},{"group":"Deep links","pages":[{"title":"Quickstart","href":"/docs/concepts/deep-links/quickstart"},{"title":"Deferred deep linking","href":"/docs/concepts/deep-links/deferred-deep-linking"},{"title":"Deep link attribution","href":"/docs/concepts/deep-links/attribution"},{"title":"Migrating from Firebase Dynamic Links","sidebarTitle":"Migrating from Firebase","href":"/docs/concepts/deep-links/migrating-from-firebase"}]},{"group":"Links API","pages":[{"title":"Introduction","href":"/docs/concepts/links/introduction"},{"title":"Bulk operations","href":"/docs/concepts/links/bulk-operations"},{"title":"Organizing links","href":"/docs/concepts/links/organization"}]},{"group":"Analytics API","pages":[{"title":"Introduction","href":"/docs/concepts/analytics/introduction"},{"group":"Filtering and aggregation","pages":[{"title":"Partners data","href":"/docs/concepts/analytics/partners"},{"title":"Links data","href":"/docs/concepts/analytics/links"},{"title":"Location data","href":"/docs/concepts/analytics/location"},{"title":"Device data","href":"/docs/concepts/analytics/device"},{"title":"Referrers data","href":"/docs/concepts/analytics/referrers"},{"title":"UTM data","href":"/docs/concepts/analytics/utm"}]}]}]},{"group":"INTEGRATIONS","pages":[{"title":"Introduction","href":"/docs/integrations"},{"title":"Build your own integration","href":"/docs/integrations/quickstart"}]},{"group":"OPEN SOURCE","pages":[{"title":"Local development","href":"/docs/local-development"},{"title":"Self-hosting Dub","href":"/docs/self-hosting"}]}]},{"tab":"Help Center","icon":"life-ring","groups":[{"group":" ","pages":[{"title":"Dub Help Center","href":"/help"}]},{"group":"MANAGING A PROGRAM","pages":[{"title":"Dub Partners Overview","sidebarTitle":"Introduction","href":"/help/article/dub-partners"},{"group":"Getting started","pages":[{"title":"Setting up your program","href":"/help/article/setting-up-your-program"},{"title":"Configuring brand and support resources for your partners","sidebarTitle":"Brand and support resources","href":"/help/article/program-resources"},{"title":"Configuring referral links for your partner groups","sidebarTitle":"Partner referral link settings","href":"/help/article/partner-link-settings"},{"title":"Importing partners","href":"/help/article/importing-partners"}]},{"group":"Rewards and commissions","pages":[{"group":"Configuring partner rewards","root":{"title":"Configuring partner rewards","href":"/help/article/partner-rewards"},"expanded":true,"pages":[{"title":"Sale-based rewards","href":"/help/article/sale-rewards"},{"title":"Lead-based rewards","href":"/help/article/lead-rewards"},{"title":"Click-based rewards","href":"/help/article/click-rewards"},{"title":"Partner referral rewards","href":"/help/article/partner-referrals"},{"title":"Retainer-style custom rewards","href":"/help/article/retainer-rewards"}]},{"title":"Offering dual-sided incentives","href":"/help/article/dual-sided-incentives"},{"title":"Managing partner commissions","href":"/help/article/partner-commissions"},{"title":"Non-monetary rewards","href":"/help/article/non-monetary-rewards"}]},{"group":"Recruiting partners","pages":[{"title":"Inviting partners to your program","sidebarTitle":"Inviting partners","href":"/help/article/inviting-partners"},{"title":"Creating a landing page for your partner program","sidebarTitle":"Program landing page","href":"/help/article/program-landing-page"},{"title":"Customizing your program application form","sidebarTitle":"Program application form","href":"/help/article/program-application-form"},{"title":"Reviewing program applications","href":"/help/article/program-applications"},{"title":"Embedded referral dashboard","href":"/docs/partners/embedded-referrals"}]},{"group":"Managing partners","pages":[{"title":"Partner details","href":"/help/article/managing-program-partners"},{"title":"Managing your partners with groups","sidebarTitle":"Partner groups","href":"/help/article/partner-groups"},{"title":"Partner tags","href":"/help/article/partner-tags"}]},{"group":"Sending payouts","pages":[{"title":"Sending partner payouts on Dub","sidebarTitle":"Sending partner payouts","href":"/help/article/partner-payouts"},{"title":"Setting up a bank account for partner payouts","sidebarTitle":"Setting up bank account","href":"/help/article/how-to-set-up-bank-account"}]},{"group":"Engaging partners","pages":[{"title":"Program bounties","href":"/help/article/program-bounties"},{"title":"Sending marketing and transactional emails to your partners","sidebarTitle":"Email campaigns","href":"/help/article/email-campaigns"},{"title":"Messaging your partners","href":"/help/article/messaging-partners"},{"title":"Submitted leads","tag":"Beta","href":"/help/article/submitted-leads"}]},{"group":"Insights and reporting","pages":[{"title":"Measuring program performance","sidebarTitle":"Program analytics","href":"/help/article/program-analytics"},{"title":"Commission analytics","sidebarTitle":"Commission analytics","href":"/help/article/commission-analytics"},{"title":"Application analytics","sidebarTitle":"Application analytics","href":"/help/article/application-analytics"},{"title":"Risk monitoring","href":"/help/article/risk-monitoring"}]},{"group":"Migration guides","pages":[{"title":"Migrating from Rewardful","sidebarTitle":"Rewardful","href":"/help/article/migrating-from-rewardful"},{"title":"Migrating from PartnerStack","sidebarTitle":"PartnerStack","href":"/help/article/migrating-from-partnerstack"},{"title":"Migrating from FirstPromoter","sidebarTitle":"FirstPromoter","href":"/help/article/migrating-from-firstpromoter"},{"title":"Migrating from Tapfiliate","sidebarTitle":"Tapfiliate","href":"/help/article/migrating-from-tapfiliate"},{"title":"Migrating from Tolt","sidebarTitle":"Tolt","href":"/help/article/migrating-from-tolt"},{"title":"Migrating from Lemon Squeezy","sidebarTitle":"Lemon Squeezy","href":"/help/article/migrating-from-lemonsqueezy"}]}]},{"group":"PARTNERING WITH PROGRAMS","pages":[{"group":"Getting started","pages":[{"title":"Customizing your partner profile","sidebarTitle":"Customizing your profile","href":"/help/article/partner-profile"},{"title":"Inviting your partner team","href":"/help/article/managing-partner-teams"},{"title":"Merging your partner accounts","sidebarTitle":"Merging partner accounts","href":"/help/article/merging-partner-accounts"},{"title":"Frequently Asked Questions","sidebarTitle":"FAQs","href":"/help/article/partners-faq"}]},{"group":"Joining programs","pages":[{"title":"Applying to programs via the Dub Program Marketplace","sidebarTitle":"Applying to programs","href":"/help/article/program-marketplace"},{"title":"Navigating a partner program","sidebarTitle":"Navigating a program","href":"/help/article/navigating-partner-program"},{"title":"Communicating with your programs","sidebarTitle":"Communicating with programs","href":"/help/article/communicating-with-programs"}]},{"group":"Receiving payouts","pages":[{"title":"Connecting your payout method to receive payouts","sidebarTitle":"Connecting your payout method","href":"/help/article/receiving-payouts"},{"title":"How commissions and payouts work on Dub","href":"/help/article/commissions-payouts"},{"title":"Dub Network referral bonus","href":"/help/article/network-referral-bonus"},{"title":"Setting business details in partner payout invoices","sidebarTitle":"Customizing invoice details","href":"/help/article/partner-payout-invoice"}]}]},{"group":"MANAGING YOUR LINKS","pages":[{"title":"Dub Links Overview","sidebarTitle":"Introduction","href":"/help/article/dub-links"},{"group":"Links","pages":[{"title":"How to create a short link on Dub?","sidebarTitle":"Creating a short link","href":"/help/article/how-to-create-link"},{"title":"How do I add UTM parameters to a link?","sidebarTitle":"Adding UTM parameters","href":"/help/article/utm-builder"},{"title":"How to create UTM templates on Dub","sidebarTitle":"UTM templates","href":"/help/article/how-to-create-utm-templates"},{"title":"Custom QR codes","href":"/help/article/custom-qr-codes"},{"title":"How to set custom link previews for your Dub links?","sidebarTitle":"Custom link previews","href":"/help/article/custom-link-previews"},{"title":"How to use device targeting on Dub?","sidebarTitle":"Device targeting","href":"/help/article/device-targeting"},{"title":"How to use geo targeting on Dub?","sidebarTitle":"Geo targeting","href":"/help/article/geo-targeting"},{"title":"How to use link cloaking on Dub?","sidebarTitle":"Link cloaking","href":"/help/article/link-cloaking"},{"title":"How to run A/B tests with Dub Links?","sidebarTitle":"A/B testing","href":"/help/article/ab-testing"},{"title":"How to create password-protected links on Dub?","sidebarTitle":"Password protection","href":"/help/article/password-protected-links"},{"title":"How to set an expiration date for your Dub links?","sidebarTitle":"Link expiration","href":"/help/article/link-expiration"},{"title":"How to add comments to your links in Dub?","sidebarTitle":"Link comments","href":"/help/article/link-comments"},{"title":"How to manage your links in bulk","sidebarTitle":"Bulk link actions","href":"/help/article/bulk-link-actions"},{"title":"How to use Tags on Dub","sidebarTitle":"Link tags","href":"/help/article/how-to-use-tags"},{"title":"Managing links with folders","sidebarTitle":"Link folders","href":"/help/article/link-folders"},{"title":"Folders role-based access control (RBAC)","sidebarTitle":"Folders RBAC","href":"/help/article/folders-rbac"}]},{"group":"Analytics","pages":[{"title":"Dub Analytics Overview","sidebarTitle":"Overview","href":"/help/article/dub-analytics"},{"title":"Conversion tracking","href":"/help/article/dub-conversions"},{"title":"Real-time events stream","href":"/help/article/real-time-events-stream"},{"title":"Customer insights","href":"/help/article/customer-insights"},{"group":"Filtering analytics","pages":[{"title":"How to filter analytics by folders","sidebarTitle":"By folders","href":"/help/article/filter-analytics-by-folders"},{"title":"How to filter analytics by tags","sidebarTitle":"By tags","href":"/help/article/filter-analytics-by-tags"},{"title":"Filtering and visualizing your analytics by UTM parameters","sidebarTitle":"By UTM tags","href":"/help/article/filter-analytics-by-utms"},{"title":"How to filter by trigger type","sidebarTitle":"By trigger","href":"/help/article/filter-analytics-by-trigger"}]},{"title":"How to create public analytics dashboards on Dub","sidebarTitle":"Public analytics dashboards","href":"/help/article/share-analytics"},{"title":"Dub Analytics Limits","sidebarTitle":"Limits \u0026 pricing","href":"/help/article/dub-analytics-limits"},{"title":"How to export link analytics data from Dub","sidebarTitle":"Exporting analytics","href":"/help/article/how-to-export-analytics"},{"title":"Why are my analytics country or city data incorrect?","sidebarTitle":"Incorrect geolocation data","href":"/help/article/incorrect-analytics-geolocation-data"}]},{"group":"Custom domains","pages":[{"title":"How to add a custom domain to Dub","sidebarTitle":"Adding a custom domain","href":"/help/article/how-to-add-custom-domain"},{"title":"How to choose a custom domain for your short links","sidebarTitle":"Choosing a custom domain","href":"/help/article/choosing-a-custom-domain"},{"title":"How to set up a redirect for your custom domain on Dub","sidebarTitle":"Redirecing root domain link","href":"/help/article/how-to-redirect-root-domain"},{"title":"Free .link domain offer on Dub","sidebarTitle":"Free .link domain offer","href":"/help/article/free-dot-link-domain"},{"title":"How to use Dub to shorten links on a subpath","sidebarTitle":"Shortening links on a subpath","href":"/help/article/how-to-use-dub-with-subpath"},{"title":"Using Cloudflare domains with Dub","sidebarTitle":"Using Cloudflare domains","href":"/help/article/using-cloudflare-domains"},{"title":"Troubleshooting custom domains","href":"/help/article/troubleshooting-domains"},{"title":"What are default Dub domains?","sidebarTitle":"Default Dub domains","href":"/help/article/default-dub-domains"},{"title":"How to set a primary domain on Dub?","sidebarTitle":"Setting a primary domain","href":"/help/article/how-to-set-primary-domain"},{"title":"Archiving domains on Dub","sidebarTitle":"Archiving domains","href":"/help/article/archiving-domains"},{"title":"How to set a not found URL for your custom domains","sidebarTitle":"Setting a not found URL","href":"/help/article/setting-not-found-url"},{"title":"How to transfer domains between workspaces?","sidebarTitle":"Transferring domains","href":"/help/article/how-to-transfer-domains"},{"title":"Can I use a proxy on top of my Dub custom domain?","sidebarTitle":"Using proxies on custom domains","href":"/help/article/using-proxies-on-custom-domains"}]},{"group":"Additional guides","pages":[{"title":"What is the Dub link builder?","sidebarTitle":"Dub link builder","href":"/help/article/dub-link-builder"},{"title":"How to pass query parameters in short links?","sidebarTitle":"Query parameter passing","href":"/help/article/parameter-passing"},{"title":"How to transfer links between workspaces?","sidebarTitle":"Transferring links","href":"/help/article/how-to-transfer-links"},{"title":"How to export links from Dub","sidebarTitle":"Export links","href":"/help/article/how-to-export-links"},{"title":"How noindex works on Dub","sidebarTitle":"Noindex support","href":"/help/article/how-noindex-works"},{"title":"How can I check a Dub link's destination before clicking on it?","sidebarTitle":"Checking link destination","href":"/help/article/how-to-check-link-destination"},{"title":"Does Dub allow for double link redirects?","sidebarTitle":"Double link redirects","href":"/help/article/link-double-redirects"},{"title":"Why are my dub.sh links not working?","sidebarTitle":"dub.sh links not working?","href":"/help/article/dub-links-not-working"}]},{"group":"Migration guides","pages":[{"title":"Migrating from Bitly","sidebarTitle":"Bitly","href":"/help/article/migrating-from-bitly"},{"title":"Migrating from Rebrandly","sidebarTitle":"Rebrandly","href":"/help/article/migrating-from-rebrandly"},{"title":"Migrating from Short.io","sidebarTitle":"Short.io","href":"/help/article/migrating-from-short"},{"title":"How to import links from a CSV file","sidebarTitle":"Import links via CSV","href":"/help/article/how-to-import-csv"}]}]},{"group":"MANAGING YOUR WORKSPACE","pages":[{"title":"What is a \"Workspace\" on Dub?","sidebarTitle":"What is a workspace?","href":"/help/article/what-is-a-workspace"},{"group":"Workspace members","pages":[{"title":"How to invite teammates on Dub","sidebarTitle":"Inviting your team members","href":"/help/article/how-to-invite-teammates"},{"title":"Managing workspace members with roles","sidebarTitle":"Configuring workspace roles","href":"/help/article/workspace-roles"}]},{"group":"Billing \u0026 subscription","pages":[{"title":"Free 14-day trial","href":"/help/article/free-trial"},{"title":"How to change my Dub billing information?","sidebarTitle":"Updating billing information","href":"/help/article/how-to-change-billing-information"},{"title":"How can I download my Dub invoice?","sidebarTitle":"Downloading your invoice","href":"/help/article/how-to-download-invoice"},{"title":"How to cancel my Dub subscription?","sidebarTitle":"Canceling your subscription","href":"/help/article/how-to-cancel-subscription"}]},{"group":"SAML/SSO","pages":[{"title":"Configuring SAML SSO with Okta","sidebarTitle":"Okta SAML SSO","href":"/help/article/okta-saml"},{"title":"Configuring SCIM Directory Sync with Okta","sidebarTitle":"Okta SCIM Directory Sync","href":"/help/article/okta-scim"},{"title":"Configuring SAML SSO with Google Workspace","sidebarTitle":"Google Workspace SAML SSO","href":"/help/article/google-saml"},{"title":"Configuring SAML SSO with Azure AD","sidebarTitle":"Azure AD SAML SSO","href":"/help/article/azure-saml"},{"title":"Configuring SCIM Directory Sync with Azure AD","sidebarTitle":"Azure AD SCIM Directory Sync","href":"/help/article/azure-scim"}]},{"group":"Additional guides","pages":[{"title":"How to change my default workspace on Dub?","sidebarTitle":"Changing your default workspace","href":"/help/article/how-to-change-default-workspace"},{"title":"How to change the default product in my workspace?","sidebarTitle":"Changing workspace default product","href":"/help/article/how-to-change-default-product"},{"title":"Managing your account security","sidebarTitle":"Account security","href":"/help/article/account-security"},{"title":"How to delete my Dub account?","sidebarTitle":"Deleting your account","href":"/help/article/how-to-delete-account"}]}]}]},{"tab":"API Reference","icon":"code","dropdowns":[{"dropdown":"Dub API","icon":"code","groups":[{"group":"DUB API","pages":[{"title":"Introduction","href":"/docs/api-reference/introduction"},{"title":"API Authentication","sidebarTitle":"Authentication","href":"/docs/api-reference/authentication"},{"title":"Rate limits","href":"/docs/api-reference/rate-limits"},{"title":"Errors","href":"/docs/api-reference/errors"},{"title":"Dub MCP Server","sidebarTitle":"MCP Server","href":"/docs/mcp-server"}]},{"group":"SDKs","pages":[{"title":"Overview","href":"/docs/sdks/overview"},{"group":"Server-side SDKs","pages":[{"title":"TypeScript SDK","href":"/docs/sdks/typescript"},{"title":"Python SDK","href":"/docs/sdks/python"},{"title":"Ruby SDK","href":"/docs/sdks/ruby"},{"title":"PHP SDK","href":"/docs/sdks/php"},{"title":"Go SDK","href":"/docs/sdks/go"}]},{"group":"Client-side SDK (Web)","pages":[{"title":"Introduction","href":"/docs/sdks/client-side/introduction"},{"group":"Installation guides","pages":[{"title":"React","href":"/docs/sdks/client-side/installation-guides/react"},{"title":"Google Tag Manager","href":"/docs/sdks/client-side/installation-guides/google-tag-manager"},{"title":"Manual Installation","href":"/docs/sdks/client-side/installation-guides/manual"},{"title":"Webflow","href":"/docs/sdks/client-side/installation-guides/webflow"},{"title":"WordPress","href":"/docs/sdks/client-side/installation-guides/wordpress"},{"title":"Framer","href":"/docs/sdks/client-side/installation-guides/framer"},{"title":"Shopify","href":"/docs/sdks/client-side/installation-guides/shopify"}]},{"title":"Script Variants","href":"/docs/sdks/client-side/variants"},{"group":"Features","pages":[{"title":"Client-side click tracking","href":"/docs/sdks/client-side/features/click-tracking"},{"title":"Client-side conversion tracking","href":"/docs/sdks/client-side/features/conversion-tracking"},{"title":"Cross-domain tracking","href":"/docs/sdks/client-side/features/cross-domain-tracking"},{"title":"Reverse-proxy support","href":"/docs/sdks/client-side/features/reverse-proxy-support"},{"title":"Identity tracking for partner risk monitoring","sidebarTitle":"Identity tracking","tag":"Beta","href":"/docs/sdks/client-side/features/identity-tracking"}]}]},{"group":"Client-side SDK (Mobile)","pages":[{"title":"Introduction","href":"/docs/sdks/client-side-mobile/introduction"},{"group":"Installation Guides","pages":[{"title":"Swift","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/swift"},{"title":"React Native","tag":"Beta","href":"/docs/sdks/client-side-mobile/installation-guides/react-native"}]}]}]},{"group":"DUB PARTNERS API","pages":[{"group":"Partners","pages":[{"openapi":"post /partners","sidebarTitle":"Create partner","title":"Create or update a partner","href":"/docs/api-reference/partners/create"},{"openapi":"get /partners","sidebarTitle":"List partners","title":"List all partners","href":"/docs/api-reference/partners/list"},{"title":"Update partner group","openapi":"post /partners/update-group","href":"/docs/api-reference/partners/update-group"},{"title":"Update partner tags","openapi":"post /partners/update-tags","href":"/docs/api-reference/partners/update-tags"},{"openapi":"post /partners/ban","sidebarTitle":"Ban partner","title":"Ban a partner","href":"/docs/api-reference/partners/ban"},{"openapi":"post /partners/deactivate","sidebarTitle":"Deactivate partner","title":"Deactivate a partner","href":"/docs/api-reference/partners/deactivate"},{"openapi":"post /partners/attribute-referring-partner","sidebarTitle":"Attribute referring partner","title":"Attribute a referring partner","href":"/docs/api-reference/partners/attribute-referring-partner"}]},{"group":"Partner links","pages":[{"openapi":"post /partners/links","sidebarTitle":"Create partner link","title":"Create a link for a partner","href":"/docs/api-reference/partners/create-link"},{"openapi":"put /partners/links/upsert","sidebarTitle":"Upsert partner link","title":"Upsert a link for a partner","href":"/docs/api-reference/partners/upsert-link"},{"openapi":"get /partners/links","sidebarTitle":"List partner links","title":"Retrieve a partner's links.","href":"/docs/api-reference/partners/retrieve-links"}]},{"group":"Program applications","pages":[{"openapi":"get /program-applications","sidebarTitle":"List program applications","title":"List all program applications","href":"/docs/api-reference/program-applications/list"},{"openapi":"post /program-applications/approve","sidebarTitle":"Approve program application","title":"Approve a partner application","href":"/docs/api-reference/program-applications/approve"},{"openapi":"post /program-applications/reject","sidebarTitle":"Reject program application","title":"Reject a partner application","href":"/docs/api-reference/program-applications/reject"}]},{"group":"Analytics \u0026 events","pages":[{"title":"Retrieve analytics","openapi":"get /analytics","href":"/docs/api-reference/analytics/retrieve"},{"openapi":"get /events","sidebarTitle":"List events","title":"List all events","href":"/docs/api-reference/events/list"}]},{"group":"Tracking","pages":[{"openapi":"post /track/lead","title":"Track a lead event","href":"/docs/api-reference/track/lead"},{"openapi":"post /track/sale","title":"Track a sale event","href":"/docs/api-reference/track/sale"},{"openapi":"post /track/open","title":"Track a deep link open event","href":"/docs/api-reference/track/open"}]},{"group":"Customers","pages":[{"openapi":"get /customers/{id}","sidebarTitle":"Retrieve customer","title":"Retrieve a customer","href":"/docs/api-reference/customers/retrieve"},{"openapi":"get /customers","sidebarTitle":"List customers","title":"List all customers","href":"/docs/api-reference/customers/list"},{"openapi":"patch /customers/{id}","sidebarTitle":"Update customer","title":"Update a customer","href":"/docs/api-reference/customers/update"},{"openapi":"delete /customers/{id}","sidebarTitle":"Delete customer","title":"Delete a customer","href":"/docs/api-reference/customers/delete"}]},{"group":"Bounty submissions","pages":[{"openapi":"get /bounties/{bountyId}/submissions","sidebarTitle":"List submissions","title":"List bounty submissions","href":"/docs/api-reference/bounties/list"},{"openapi":"post /bounties/{bountyId}/submissions/{submissionId}/approve","sidebarTitle":"Approve submission","title":"Approve a bounty submission","href":"/docs/api-reference/bounties/approve"},{"openapi":"post /bounties/{bountyId}/submissions/{submissionId}/reject","sidebarTitle":"Reject submission","title":"Reject a bounty submission","href":"/docs/api-reference/bounties/reject"}]},{"group":"Commissions","pages":[{"openapi":"get /commissions","sidebarTitle":"List commissions","title":"List all commissions","href":"/docs/api-reference/commissions/list"},{"openapi":"post /commissions","sidebarTitle":"Create commission","title":"Create commission","href":"/docs/api-reference/commissions/create"},{"openapi":"patch /commissions/{id}","sidebarTitle":"Update commission","title":"Update a commission","href":"/docs/api-reference/commissions/update"}]},{"group":"Payouts","pages":[{"openapi":"get /payouts","sidebarTitle":"List payouts","title":"List all payouts","href":"/docs/api-reference/payouts/list"}]},{"group":"Messages","pages":[{"openapi":"get /messages","sidebarTitle":"List messages","title":"List all messages","href":"/docs/api-reference/messages/list"},{"openapi":"post /messages","sidebarTitle":"Send a message","title":"Send a message to a partner","href":"/docs/api-reference/messages/create"}]},{"group":"Discount codes","pages":[{"openapi":"get /discount-codes","sidebarTitle":"List discount codes","title":"List discount codes","href":"/docs/api-reference/discount-codes/list"},{"openapi":"post /discount-codes","sidebarTitle":"Create discount code","title":"Create a discount code","href":"/docs/api-reference/discount-codes/create"},{"openapi":"delete /discount-codes/{idOrCode}","sidebarTitle":"Delete discount code","title":"Delete a discount code","href":"/docs/api-reference/discount-codes/delete"}]}]},{"group":"DUB LINKS API","pages":[{"group":"Links","pages":[{"openapi":"post /links","sidebarTitle":"Create link","title":"Create a link","href":"/docs/api-reference/links/create"},{"openapi":"patch /links/{linkId}","sidebarTitle":"Update link","title":"Update a link","href":"/docs/api-reference/links/update"},{"openapi":"put /links/upsert","sidebarTitle":"Upsert link","title":"Upsert a link","href":"/docs/api-reference/links/upsert"},{"openapi":"delete /links/{linkId}","sidebarTitle":"Delete link","title":"Delete a link","href":"/docs/api-reference/links/delete"},{"openapi":"get /links/info","sidebarTitle":"Retrieve link","title":"Retrieve a link","href":"/docs/api-reference/links/retrieve"},{"openapi":"get /links","sidebarTitle":"List links","title":"List all links","href":"/docs/api-reference/links/list"},{"openapi":"get /links/count","sidebarTitle":"Count links","title":"Retrieve links count","href":"/docs/api-reference/links/count"},{"openapi":"post /links/bulk","sidebarTitle":"Bulk create links","title":"Bulk create links","href":"/docs/api-reference/links/bulk-create"},{"openapi":"patch /links/bulk","sidebarTitle":"Bulk update links","title":"Bulk update links","href":"/docs/api-reference/links/bulk-update"},{"openapi":"delete /links/bulk","sidebarTitle":"Bulk delete links","title":"Bulk delete links","href":"/docs/api-reference/links/bulk-delete"}]},{"group":"Domains","pages":[{"openapi":"post /domains","sidebarTitle":"Create domain","title":"Create a domain","href":"/docs/api-reference/domains/create"},{"openapi":"patch /domains/{slug}","sidebarTitle":"Update domain","title":"Update a domain","href":"/docs/api-reference/domains/update"},{"openapi":"delete /domains/{slug}","sidebarTitle":"Delete domain","title":"Delete a domain","href":"/docs/api-reference/domains/delete"},{"openapi":"post /domains/register","sidebarTitle":"Register domain","title":"Register a domain","href":"/docs/api-reference/domains/register"},{"openapi":"get /domains/status","sidebarTitle":"Check domain availability","title":"Check the availability of one or more domains","href":"/docs/api-reference/domains/check-availability"}]},{"group":"Folders","pages":[{"openapi":"post /folders","sidebarTitle":"Create folder","title":"Create a folder","href":"/docs/api-reference/folders/create"},{"openapi":"patch /folders/{id}","sidebarTitle":"Update folder","title":"Update a folder","href":"/docs/api-reference/folders/update"},{"openapi":"delete /folders/{id}","sidebarTitle":"Delete folder","title":"Delete a folder","href":"/docs/api-reference/folders/delete"},{"openapi":"get /folders","sidebarTitle":"List folders","title":"List all folders","href":"/docs/api-reference/folders/list"}]},{"group":"Tags","pages":[{"openapi":"post /tags","sidebarTitle":"Create tag","title":"Create a tag","href":"/docs/api-reference/tags/create"},{"openapi":"get /tags","sidebarTitle":"List tags","title":"List all tags","href":"/docs/api-reference/tags/list"},{"openapi":"patch /tags/{id}","sidebarTitle":"Update tag","title":"Update a tag","href":"/docs/api-reference/tags/update"}]}]}]},{"dropdown":"Dub Partner API","icon":"chart-line","groups":[{"group":"DUB PARTNER API","pages":[{"title":"Introduction","href":"/docs/partner-api-reference/introduction"}]}]}]},{"tab":"Webhooks","icon":"webhook","dropdowns":[{"dropdown":"Dub Webhooks","icon":"webhook","groups":[{"group":"DUB WEBHOOKS","pages":[{"title":"Introduction","href":"/docs/webhooks/introduction"},{"title":"Event types","href":"/docs/webhooks/event-types"},{"title":"Verify webhook requests","href":"/docs/webhooks/verify-webhook-requests"}]},{"group":"DUB PARTNERS WEBHOOKS","pages":[{"title":"program_application.created","icon":"users","href":"/docs/webhooks/events/program-application-created"},{"title":"partner.enrolled","icon":"users","href":"/docs/webhooks/events/partner-enrolled"},{"title":"partner.merged","icon":"users","href":"/docs/webhooks/events/partner-merged"},{"title":"lead.created","icon":"user-crown","href":"/docs/webhooks/events/lead-created"},{"title":"sale.created","icon":"coins","href":"/docs/webhooks/events/sale-created"},{"title":"commission.created","icon":"money-bill","href":"/docs/webhooks/events/commission-created"},{"title":"bounty.created","icon":"trophy","href":"/docs/webhooks/events/bounty-created"},{"title":"bounty.updated","icon":"trophy","href":"/docs/webhooks/events/bounty-updated"},{"title":"discount_code.created","icon":"ticket","href":"/docs/webhooks/events/discount-code-created"},{"title":"discount_code.deleted","icon":"ticket","href":"/docs/webhooks/events/discount-code-deleted"},{"title":"message.received","icon":"message","href":"/docs/webhooks/events/message-received"}]},{"group":"DUB LINKS WEBHOOKS","pages":[{"title":"link.created","icon":"link","href":"/docs/webhooks/events/link-created"},{"title":"link.updated","icon":"link","href":"/docs/webhooks/events/link-updated"},{"title":"link.deleted","icon":"link","href":"/docs/webhooks/events/link-deleted"},{"title":"link.clicked","icon":"link","href":"/docs/webhooks/events/link-clicked"}]}]},{"dropdown":"Dub Postbacks","icon":"arrow-progress","groups":[{"group":"DUB POSTBACKS","pages":[{"title":"Introduction","href":"/docs/postbacks/introduction"},{"title":"Event types","href":"/docs/postbacks/event-types"},{"title":"Verify postback requests","href":"/docs/postbacks/verify-postback-requests"}]},{"group":"DUB POSTBACK EVENTS","pages":[{"title":"lead.created","icon":"user-crown","href":"/docs/postbacks/events/lead-created"},{"title":"sale.created","icon":"coins","href":"/docs/postbacks/events/sale-created"},{"title":"commission.created","icon":"money-bill","href":"/docs/postbacks/events/commission-created"},{"title":"message.received","icon":"message","href":"/docs/postbacks/events/message-received"}]}]}]}]},"basePath":"","title":"Get a QR code with the Dub API - API Reference","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","SectionHeading-DMe18In2.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}