Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.
Return the WhatsApp QR code directly as an image.This endpoint is useful when you want to display the QR code in a browser, documentation page, or an <img> tag. For browser image rendering, pass the API key as a query parameter because image tags cannot send Authorization headers.
<img src="https://crm.wachat.net/api/v1/instance/qr/image?instanceName=t1_mq9r2jov_store-jakarta&apiKey=YOUR_API_KEY" alt="WhatsApp QR Code" />
Passing an API key in a URL can expose it in browser history, logs, or analytics. Use this only when you need direct image rendering. For backend integrations, prefer the Authorization: Bearer YOUR_API_KEY header.
Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.
Optional API key for direct browser image rendering. Prefer Authorization bearer header for server-to-server requests.
Response
QR code image returned successfully.
The response is of type file.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Wachat","colors":{"primary":"#25D366","light":"#4ade80","dark":"#16a34a"},"favicon":"https://mintcdn.com/wachat-336ab83a/9nBhxtXyAAg2y0Gz/logo/favicon.png?fit=max\u0026auto=format\u0026n=9nBhxtXyAAg2y0Gz\u0026q=85\u0026s=afe15ff563e4f1b3b27f860d807640c6","logo":{"light":"https://mintcdn.com/wachat-336ab83a/mcumifWE4a7E0QYj/logo/light.png?fit=max\u0026auto=format\u0026n=mcumifWE4a7E0QYj\u0026q=85\u0026s=a0951689af3dcc8aeec39e45d675ef58","dark":"https://mintcdn.com/wachat-336ab83a/mcumifWE4a7E0QYj/logo/light.png?fit=max\u0026auto=format\u0026n=mcumifWE4a7E0QYj\u0026q=85\u0026s=a0951689af3dcc8aeec39e45d675ef58"},"api":{"openapi":"https://crm.wachat.net/docs/api.json","playground":{"display":"interactive"},"mdx":{"server":"https://crm.wachat.net/api/v1","auth":{"method":"bearer","name":null}}},"navbar":{"links":[{"label":"Pricing","href":"https://www.wachat.net/pricing"},{"label":"Support","href":"mailto:support@wachat.net"}],"primary":{"type":"button","label":"Dashboard","href":"https://crm.wachat.net"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wachat-336ab83a","hasAudioNarration":false,"actualSubdomain":"wachat-336ab83a","customDomains":["docs.wachat.net"],"gitSource":{"type":"github","owner":"whmcs90","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab8da941f8fe965b40df0a2","collectionId":"f5f11b61-af22-4cc3-9a9b-e3b3e0e4b8b7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab8da941f8fe965b40df0a2"},"entitlements":{},"buildId":"6ab8da941f8fe965b40df0a2","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Messages","count":9},{"language":"default","tag":"Instances","count":7},{"language":"default","tag":"Webhooks","count":3},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Start here","count":2},{"language":"default","tag":"Account","count":1},{"language":"default","tag":"Numbers","count":1},{"language":"default","tag":"Contacts","count":1},{"language":"default","tag":"Groups","count":1},{"language":"default","tag":"API Reference","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/instance-qr-image","slug":"/api-reference/instance-qr-image","pageMetadata":{"title":"Get QR Image","openapi":"GET /instance/qr/image","description":"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.","href":"/api-reference/instance-qr-image"},"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: \"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Return the WhatsApp QR code directly as an image.`}),`\n`,_jsxs(_components.p,{children:[`This endpoint is useful when you want to display the QR code in a browser, documentation page, or an `,_jsx(_components.code,{children:`\u003cimg>`}),` tag. For browser image rendering, pass the API key as a query parameter because image tags cannot send Authorization headers.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,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:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`img`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://crm.wachat.net/api/v1/instance/qr/image?instanceName=t1_mq9r2jov_store-jakarta\u0026apiKey=YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` alt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WhatsApp QR Code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Passing an API key in a URL can expose it in browser history, logs, or analytics. Use this only when you need direct image rendering. For backend integrations, prefer the `,_jsx(_components.code,{children:`Authorization: Bearer YOUR_API_KEY`}),` header.`]})})]})}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":"Get QR Image","openapi":"GET /instance/qr/image","description":"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.","href":"/api-reference/instance-qr-image"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Instance QR Image","description":"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.","tags":["Session Lifecycle Infrastructure"],"parameters":["66f9775b-7152-414e-ae3e-802e874f983e","ff888c04-9bc8-45d9-ad53-cf606cfa27f0"],"responses":{"200":"1bc1e9e8-115e-4338-9f01-90977b771c7e","400":"b53acaae-67c2-4d45-8a92-f3d8ef4c169a","401":"49b09c86-cae5-4cff-8942-8c402e53eea1","403":"7ef64cef-31d8-4030-87e5-4180b5f58d5d","404":"1a7617f4-6395-4dd1-9bb7-192c83378536","409":"f75155b5-7a64-4449-ad48-28f516264b48","502":"f88dc9b8-c26b-4368-a107-ff10210a5cff","504":"193bcb8c-777b-4b03-866c-6346952871ad"},"method":"get","type":"path","servers":["536c3b0c-abef-4d8d-8483-52ee9fa5eda9"],"security":["8dd0d32d-495e-4c03-bbd7-8622d71ed8f9"],"path":"/instance/qr/image","baseUrlOptions":["https://crm.wachat.net/api/v1"],"title":"Get Instance QR Image","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"66f9775b-7152-414e-ae3e-802e874f983e":{"in":"query","name":"instanceName","required":true,"schema":{"type":"string","isRequired":true,"description":"Final unique instance name returned by Wachat.","uniqueKey":"","typeLabel":"string"},"description":"Final unique instance name returned by Wachat.","example":"t1_mq9r2jov_jakarta_store"},"ff888c04-9bc8-45d9-ad53-cf606cfa27f0":{"in":"query","name":"apiKey","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional API key for direct browser image rendering. Prefer Authorization bearer header for server-to-server requests.","uniqueKey":"","typeLabel":"string"},"description":"Optional API key for direct browser image rendering. Prefer Authorization bearer header for server-to-server requests.","example":"YOUR_API_KEY"}},"responses":{"1bc1e9e8-115e-4338-9f01-90977b771c7e":{"description":"QR code image returned successfully.","content":{"image/png":{"schema":{"type":"string","format":"binary","uniqueKey":"","typeLabel":"file"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"b53acaae-67c2-4d45-8a92-f3d8ef4c169a":{"description":"Missing instanceName query parameter.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"49b09c86-cae5-4cff-8942-8c402e53eea1":{"description":"Missing or invalid API key.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"7ef64cef-31d8-4030-87e5-4180b5f58d5d":{"description":"Subscription restriction prevented QR generation.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1a7617f4-6395-4dd1-9bb7-192c83378536":{"description":"Instance not found for this API key.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"f75155b5-7a64-4449-ad48-28f516264b48":{"description":"QR code is only available for WhatsApp Baileys instances.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"f88dc9b8-c26b-4368-a107-ff10210a5cff":{"description":"Failed to fetch or decode the QR code image.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"193bcb8c-777b-4b03-866c-6346952871ad":{"description":"Wachat API request timed out.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"8dd0d32d-495e-4c03-bbd7-8622d71ed8f9":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.","scopes":[]}}},"servers":{"536c3b0c-abef-4d8d-8483-52ee9fa5eda9":{"url":"https://crm.wachat.net/api/v1","description":"Live Production Gateway"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"wachat-336ab83a","siteName":"Wachat","title":"Get QR Image - Wachat","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-27T08:44:49.097Z","originalFileLocation":"api-reference/instance-qr-image.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=\"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Wachat\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get QR Image - Wachat\">\u003cmeta data-mint-head property=\"og:description\" content=\"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Wachat\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wachat.net/api-reference/instance-qr-image\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wachat-336ab83a.mintlify.app/_mintlify/api/og/v2?division=Instances\u0026amp;title=Get+QR+Image\u0026amp;description=Return+the+QR+code+directly+as+an+image%2Fpng+response.+This+is+useful+for+browser+previews%2C+documentation+pages%2C+and+img+tags.+You+can+authenticate+using+the+Aut\u0026amp;theme=9a5eb6a4feb8b1d774cd7cd1\u0026amp;signature=76371f1093bbd901c14077d084381f3f016a0d0179cb1ed7cde37f2c794e9eff\">\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 QR Image - Wachat\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wachat-336ab83a.mintlify.app/_mintlify/api/og/v2?division=Instances\u0026amp;title=Get+QR+Image\u0026amp;description=Return+the+QR+code+directly+as+an+image%2Fpng+response.+This+is+useful+for+browser+previews%2C+documentation+pages%2C+and+img+tags.+You+can+authenticate+using+the+Aut\u0026amp;theme=9a5eb6a4feb8b1d774cd7cd1\u0026amp;signature=76371f1093bbd901c14077d084381f3f016a0d0179cb1ed7cde37f2c794e9eff\">\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/wachat-336ab83a/QI1uNIUdNU-5Jwgy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Wachat\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#25D366\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wachat.net/api-reference/instance-qr-image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/instance-qr-image.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wachat.net/#organization\",\"name\":\"Wachat\",\"url\":\"https://docs.wachat.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wachat-336ab83a/mcumifWE4a7E0QYj/logo/light.png?fit=max\u0026auto=format\u0026n=mcumifWE4a7E0QYj\u0026q=85\u0026s=a0951689af3dcc8aeec39e45d675ef58\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wachat.net#website\",\"name\":\"Wachat\",\"url\":\"https://docs.wachat.net\",\"publisher\":{\"@id\":\"https://docs.wachat.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wachat.net/api-reference/instance-qr-image#webpage\",\"url\":\"https://docs.wachat.net/api-reference/instance-qr-image\",\"name\":\"Get QR Image\",\"description\":\"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\",\"dateModified\":\"2026-09-27T08:44:49.097Z\",\"isPartOf\":{\"@id\":\"https://docs.wachat.net#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wachat.net/api-reference/instance-qr-image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wachat.net/api-reference/instance-qr-image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Instances\",\"item\":\"https://docs.wachat.net/api-reference/instance-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get QR Image\",\"item\":\"https://docs.wachat.net/api-reference/instance-qr-image\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.wachat.net/api-reference/instance-qr-image#apireference\",\"headline\":\"Get QR Image\",\"name\":\"Get QR Image\",\"description\":\"Return the QR code directly as an image/png response. This is useful for browser previews, documentation pages, and img tags. You can authenticate using the Authorization bearer header or the apiKey query parameter.\",\"url\":\"https://docs.wachat.net/api-reference/instance-qr-image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wachat.net/api-reference/instance-qr-image#webpage\"},\"dateModified\":\"2026-09-27T08:44:49.097Z\",\"publisher\":{\"@id\":\"https://docs.wachat.net/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wachat.net#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Wachat\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Wachat","nav":{"global":null,"groups":[{"group":"Start here","pages":[{"title":"Build on Wachat","mode":"wide","href":"/index"},{"title":"Introduction","href":"/introduction"}]},{"group":"Guides","pages":[{"title":"Authentication","href":"/guides/authentication"},{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Webhooks","href":"/guides/webhooks"}]},{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Account","pages":[{"title":"Get Account Limits","openapi":"GET /account/limits","href":"/api-reference/account-limits"}]},{"group":"Messages","pages":[{"title":"Send Text Message","openapi":"POST /send/text","href":"/api-reference/send-text"},{"title":"Send Media Message","openapi":"POST /send/media","href":"/api-reference/send-media"},{"title":"Send Reply Buttons","openapi":"openapi.yaml POST /send/button","href":"/api-reference/send-button"},{"title":"Send Carousel","openapi":"POST /send/carousel","href":"/api-reference/send-carousel"},{"title":"Send CTA Buttons","openapi":"POST /send/cta","href":"/api-reference/send-cta"},{"title":"Send List Menu","openapi":"POST /send/list","href":"/api-reference/send-list"},{"title":"Send Group Message","openapi":"POST /send-group","href":"/api-reference/send-group"},{"title":"Send Location","openapi":"POST /send-location","href":"/api-reference/send-location"},{"title":"Send Poll","openapi":"POST /send-poll","href":"/api-reference/send-poll"}]},{"group":"Instances","pages":[{"title":"Create Instance","openapi":"POST /instance/create","description":"Create a new WhatsApp instance from an external application. The created instance is saved to your Wachat account and appears automatically in Settings > Instance. WhatsApp Baileys instances return a QR code in the same response.","href":"/api-reference/instance-create"},{"title":"Get QR Image","openapi":"GET /instance/qr/image","href":"/api-reference/instance-qr-image"},{"title":"Get Instance State","openapi":"GET /instance/state","description":"Check whether a WhatsApp instance is connected. Send the unique API instance name in the query parameter. When the instance is connected, the normalized response includes the display name, API instance name, detected WhatsApp number, and profile information when available.","href":"/api-reference/instance-state"},{"title":"Get Profile Picture","openapi":"GET /instance/profile-picture","href":"/api-reference/instance-profile-picture"},{"title":"List Instances","openapi":"GET /instance/list","href":"/api-reference/instance-list"},{"title":"Logout Instance","openapi":"DELETE /instance/logout","href":"/api-reference/instance-logout"},{"title":"Delete Instance","openapi":"DELETE /instance/delete","href":"/api-reference/instance-delete"}]},{"group":"Groups","pages":[{"title":"Get All Groups","openapi":"GET /groups","href":"/api-reference/groups"}]},{"group":"Contacts","pages":[{"title":"List Contacts","openapi":"GET /contacts","href":"/api-reference/contacts"}]},{"group":"Numbers","pages":[{"title":"Check Number","openapi":"GET /check-number","href":"/api-reference/check-number"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","openapi":"GET /webhooks","href":"/api-reference/webhooks"},{"title":"Create Webhook","openapi":"POST /webhooks","href":"/api-reference/webhooks-create"},{"title":"Delete Webhook","openapi":"DELETE /webhooks","href":"/api-reference/webhooks-delete"}]}]},"basePath":"","title":"Get QR Image - Wachat","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}