GOWA authenticates API calls with HTTP Basic Auth only.
GOWA supports HTTP Basic Auth and nothing else: there are no API keys, bearer tokens or JWTs for the REST API. (MCP can additionally accept OAuth tokens; see MCP server.)
APP_BASIC_AUTH=admin:changeme,ops:another-password # or --basic-auth=admin:changeme
Each comma-separated user:pass pair is a valid login. A malformed entry stops startup. If APP_BASIC_AUTH is empty, the API is open to anyone who can reach it.
Browsers cannot set headers on WebSocket connections, so /ws also accepts the credentials as a query parameter: /ws?device_id=my-device&authorization=<base64 user:pass>.
Basic Auth identifies the API caller, not the WhatsApp account. Every device-scoped call also needs X-Device-Id when more than one device exists. See Multi-device.
Basic Auth sends credentials on every request. Always use HTTPS in front of GOWA outside a trusted network.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"WhatsApp API MultiDevice","description":"GOWA official documentation","colors":{"primary":"#277C99","light":"#6FAFC8","dark":"#277C99"},"logo":{"light":"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1","dark":"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1"},"favicon":"https://mintcdn.com/gowa-docs/p-lrQtRqy58EOj6i/favicon.svg?fit=max\u0026auto=format\u0026n=p-lrQtRqy58EOj6i\u0026q=85\u0026s=6e94914d9664b06bf56051ff087e77a4","api":{},"background":{"color":{"light":"#EFF4F6","dark":"#0B1318"}},"navbar":{"links":[{"href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/issues","label":"Support"}],"primary":{"type":"button","label":"Try GOWA","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest"}},"footer":{"socials":{"github":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gowa-docs","hasAudioNarration":false,"actualSubdomain":"gowa-docs","customDomains":[],"gitSource":{"type":"github","owner":"aldinokemal","repo":"gowa-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6ae20edac192c2fa84eb7c2d"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae2183760416b77ca6bc6c5","collectionId":"359fadb0-ef6b-49e6-8c47-1e3188e6d44e","liveDeploymentHistoryId":"6ae2183760416b77ca6bc6c5","schemaVersion":"v3"},"entitlements":{},"buildId":"6ae2183760416b77ca6bc6c5","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Reference","count":63},{"language":"default","tag":"WhatsApp API","count":55},{"language":"default","tag":"Guide","count":18},{"language":"default","tag":"group","count":17},{"language":"default","tag":"send","count":11},{"language":"default","tag":"user","count":10},{"language":"default","tag":"message","count":7},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"Usage Examples","count":5},{"language":"default","tag":"app","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"API Authentication","sidebarTitle":"Authentication","description":"GOWA authenticates API calls with HTTP Basic Auth only.","href":"/api-reference/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"GOWA authenticates API calls with HTTP Basic Auth only.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`GOWA supports `,_jsx(_components.strong,{children:`HTTP Basic Auth`}),` and nothing else: there are no API keys, bearer tokens or JWTs for the REST API. (MCP can additionally accept OAuth tokens; see `,_jsx(_components.a,{href:`/integrations/mcp#remote-clients-with-oauth`,children:`MCP server`}),`.)`]}),`\n`,_jsx(Heading,{level:`2`,id:`configure`,children:`Configure`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`APP_BASIC_AUTH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`admin:changeme,ops:another-password`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # or --basic-auth=admin:changeme`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Each comma-separated `,_jsx(_components.code,{children:`user:pass`}),` pair is a valid login. A malformed entry stops startup. If `,_jsx(_components.code,{children:`APP_BASIC_AUTH`}),` is empty, the API is open to anyone who can reach it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`send-credentials`,children:`Send credentials`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` admin:changeme`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id: my-device\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3000/app/devices`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Header`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Basic $(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`echo`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'admin:changeme' `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` base64`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id: my-device\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3000/app/devices`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://localhost:3000/user/my/groups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Basic \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"admin:changeme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Device-Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"my-device\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`4`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://localhost:3000/user/my/groups\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"admin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"changeme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Device-Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-device\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`Wrong or missing credentials return `,_jsx(_components.code,{children:`401 Unauthorized`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`public-routes`,children:`Public routes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Route`}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/health`})}),_jsx(_components.td,{children:`Liveness checks.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/statics/*`})}),_jsx(_components.td,{children:`QR images and media files. Protect at your proxy if needed.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/chatwoot/webhook`}),`, `,_jsx(_components.code,{children:`/chatwoot/webhook/{device_id}`})]}),_jsxs(_components.td,{children:[`Called by Chatwoot; secured by `,_jsx(_components.code,{children:`CHATWOOT_WEBHOOK_SECRET`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`MCP OAuth endpoints and `,_jsx(_components.code,{children:`/.well-known/*`}),` metadata`]}),_jsx(_components.td,{children:`OAuth flow, when enabled.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`websocket`,children:`WebSocket`}),`\n`,_jsxs(_components.p,{children:[`Browsers cannot set headers on WebSocket connections, so `,_jsx(_components.code,{children:`/ws`}),` also accepts the credentials as a query parameter: `,_jsx(_components.code,{children:`/ws?device_id=my-device\u0026authorization=\u003cbase64 user:pass>`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`device-header`,children:`Device header`}),`\n`,_jsxs(_components.p,{children:[`Basic Auth identifies the API caller, not the WhatsApp account. Every device-scoped call also needs `,_jsx(_components.code,{children:`X-Device-Id`}),` when more than one device exists. See `,_jsx(_components.a,{href:`/concepts/multidevice`,children:`Multi-device`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Basic Auth sends credentials on every request. Always use HTTPS in front of GOWA outside a trusted network.`})})]})}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":"API Authentication","sidebarTitle":"Authentication","description":"GOWA authenticates API calls with HTTP Basic Auth only.","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Configure","slug":"configure","depth":2,"children":[]},{"title":"Send credentials","slug":"send-credentials","depth":2,"children":[]},{"title":"Public routes","slug":"public-routes","depth":2,"children":[]},{"title":"WebSocket","slug":"websocket","depth":2,"children":[]},{"title":"Device header","slug":"device-header","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gowa-docs","siteName":"WhatsApp API MultiDevice","title":"API Authentication - WhatsApp API MultiDevice","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T15:08:14.277Z","originalFileLocation":"api-reference/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"GOWA authenticates API calls with HTTP Basic Auth only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_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/gowa-docs/StMmKswtRj-bmXTX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"API Authentication - WhatsApp API MultiDevice\">\u003cmeta data-mint-head property=\"og:description\" content=\"GOWA authenticates API calls with HTTP Basic Auth only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://gowa-docs.mintlify.app/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gowa-docs.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=API+Authentication\u0026amp;description=GOWA+authenticates+API+calls+with+HTTP+Basic+Auth+only.\u0026amp;theme=292b32ce1445ed69af6338be\u0026amp;signature=44fccbd60eb6daf379ed47c094c6e5f5fab0130fc8b14daf61629ae82fa46a2e\">\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=\"API Authentication - WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"GOWA authenticates API calls with HTTP Basic Auth only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gowa-docs.mintlify.app/_mintlify/api/og/v2?division=Overview\u0026amp;title=API+Authentication\u0026amp;description=GOWA+authenticates+API+calls+with+HTTP+Basic+Auth+only.\u0026amp;theme=292b32ce1445ed69af6338be\u0026amp;signature=44fccbd60eb6daf379ed47c094c6e5f5fab0130fc8b14daf61629ae82fa46a2e\">\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/gowa-docs/StMmKswtRj-bmXTX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WhatsApp API MultiDevice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#277C99\">\u003clink data-mint-head rel=\"canonical\" href=\"https://gowa-docs.mintlify.app/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://gowa-docs.mintlify.app/#organization\",\"name\":\"WhatsApp API MultiDevice\",\"url\":\"https://gowa-docs.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gowa-docs/tsQezhQWWuaGa128/images/gowa-logo.webp?fit=max\u0026auto=format\u0026n=tsQezhQWWuaGa128\u0026q=85\u0026s=b3f74808868781b289bf1c2d21b7b2a1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://gowa-docs.mintlify.app#website\",\"name\":\"WhatsApp API MultiDevice\",\"url\":\"https://gowa-docs.mintlify.app\",\"publisher\":{\"@id\":\"https://gowa-docs.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://gowa-docs.mintlify.app/api-reference/authentication#webpage\",\"url\":\"https://gowa-docs.mintlify.app/api-reference/authentication\",\"name\":\"API Authentication\",\"description\":\"GOWA authenticates API calls with HTTP Basic Auth only.\",\"dateModified\":\"2026-10-28T15:08:14.277Z\",\"isPartOf\":{\"@id\":\"https://gowa-docs.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://gowa-docs.mintlify.app/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://gowa-docs.mintlify.app/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://gowa-docs.mintlify.app/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Authentication\",\"item\":\"https://gowa-docs.mintlify.app/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://gowa-docs.mintlify.app/api-reference/authentication#article\",\"headline\":\"API Authentication\",\"name\":\"API Authentication\",\"description\":\"GOWA authenticates API calls with HTTP Basic Auth only.\",\"url\":\"https://gowa-docs.mintlify.app/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://gowa-docs.mintlify.app/api-reference/authentication#webpage\"},\"dateModified\":\"2026-10-28T15:08:14.277Z\",\"publisher\":{\"@id\":\"https://gowa-docs.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://gowa-docs.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WhatsApp API MultiDevice\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WhatsApp API MultiDevice","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/aldinokemal/go-whatsapp-web-multidevice"}]},"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":""}]},{"tab":"API Reference","groups":[{"group":"WhatsApp API","pages":[{"group":"app","pages":[{"title":"Login to whatsapp server","deprecated":null,"version":null,"openapi":"/openapi.yml get /app/login","href":"/api-reference/app/login-to-whatsapp-server"},{"title":"Login with pairing code","deprecated":null,"version":null,"openapi":"/openapi.yml get /app/login-with-code","href":"/api-reference/app/login-with-pairing-code"},{"title":"Remove database and logout","deprecated":null,"version":null,"openapi":"/openapi.yml get /app/logout","href":"/api-reference/app/remove-database-and-logout"},{"title":"Reconnecting to whatsapp server","deprecated":null,"version":null,"openapi":"/openapi.yml get /app/reconnect","href":"/api-reference/app/reconnecting-to-whatsapp-server"},{"title":"Get list connected devices","deprecated":null,"version":null,"openapi":"/openapi.yml get /app/devices","href":"/api-reference/app/get-list-connected-devices"}]},{"group":"user","pages":[{"title":"User Info","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/info","href":"/api-reference/user/user-info"},{"title":"User Avatar","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/avatar","href":"/api-reference/user/user-avatar"},{"title":"User Change Avatar","deprecated":null,"version":null,"openapi":"/openapi.yml post /user/avatar","href":"/api-reference/user/user-change-avatar"},{"title":"User Change Push Name","deprecated":null,"version":null,"openapi":"/openapi.yml post /user/pushname","href":"/api-reference/user/user-change-push-name"},{"title":"User My Privacy Setting","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/my/privacy","href":"/api-reference/user/user-my-privacy-setting"},{"title":"User My List Groups","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/my/groups","href":"/api-reference/user/user-my-list-groups"},{"title":"User My List Groups","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/my/newsletters","href":"/api-reference/user/user-my-list-groups-1"},{"title":"Get list of user contacts","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/my/contacts","href":"/api-reference/user/get-list-of-user-contacts"},{"title":"Check if user is on WhatsApp","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/check","href":"/api-reference/user/check-if-user-is-on-whatsapp"},{"title":"Get Business Profile Information","deprecated":null,"version":null,"openapi":"/openapi.yml get /user/business-profile","href":"/api-reference/user/get-business-profile-information"}]},{"group":"send","pages":[{"title":"Send Message","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/message","href":"/api-reference/send/send-message"},{"title":"Send Image","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/image","href":"/api-reference/send/send-image"},{"title":"Send Audio","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/audio","href":"/api-reference/send/send-audio"},{"title":"Send File","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/file","href":"/api-reference/send/send-file"},{"title":"Send Video","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/video","href":"/api-reference/send/send-video"},{"title":"Send Contact","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/contact","href":"/api-reference/send/send-contact"},{"title":"Send Link","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/link","href":"/api-reference/send/send-link"},{"title":"Send Location","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/location","href":"/api-reference/send/send-location"},{"title":"Send Poll / Vote","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/poll","href":"/api-reference/send/send-poll-vote"},{"title":"Send presence status","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/presence","href":"/api-reference/send/send-presence-status"},{"title":"Send chat presence (typing indicator)","deprecated":null,"version":null,"openapi":"/openapi.yml post /send/chat-presence","href":"/api-reference/send/send-chat-presence-typing-indicator"}]},{"group":"message","pages":[{"title":"Revoke Message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/revoke","href":"/api-reference/message/revoke-message"},{"title":"Delete Message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/delete","href":"/api-reference/message/delete-message"},{"title":"Send reaction to message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/reaction","href":"/api-reference/message/send-reaction-to-message"},{"title":"Edit message by message ID before 15 minutes","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/update","href":"/api-reference/message/edit-message-by-message-id-before-15-minutes"},{"title":"Mark as read message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/read","href":"/api-reference/message/mark-as-read-message"},{"title":"Star message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/star","href":"/api-reference/message/star-message"},{"title":"Unstar message","deprecated":null,"version":null,"openapi":"/openapi.yml post /message/{message_id}/unstar","href":"/api-reference/message/unstar-message"}]},{"group":"chat","pages":[{"title":"Get list of chats","deprecated":null,"version":null,"openapi":"/openapi.yml get /chats","href":"/api-reference/chat/get-list-of-chats"},{"title":"Get messages from a specific chat","deprecated":null,"version":null,"openapi":"/openapi.yml get /chat/{chat_jid}/messages","href":"/api-reference/chat/get-messages-from-a-specific-chat"},{"title":"Label or unlabel a chat","deprecated":null,"version":null,"openapi":"/openapi.yml post /chat/{chat_jid}/label","href":"/api-reference/chat/label-or-unlabel-a-chat"},{"title":"Pin or unpin a chat","deprecated":null,"version":null,"openapi":"/openapi.yml post /chat/{chat_jid}/pin","href":"/api-reference/chat/pin-or-unpin-a-chat"}]},{"group":"group","pages":[{"title":"Group Info","deprecated":null,"version":null,"openapi":"/openapi.yml get /group/info","href":"/api-reference/group/group-info"},{"title":"Create group and add participant","deprecated":null,"version":null,"openapi":"/openapi.yml post /group","href":"/api-reference/group/create-group-and-add-participant"},{"title":"Adding more participants to group","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participants","href":"/api-reference/group/adding-more-participants-to-group"},{"title":"Remove participants from group","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participants/remove","href":"/api-reference/group/remove-participants-from-group"},{"title":"Promote participants to admin","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participants/promote","href":"/api-reference/group/promote-participants-to-admin"},{"title":"Demote participants to member","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participants/demote","href":"/api-reference/group/demote-participants-to-member"},{"title":"Join group with link","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/join-with-link","href":"/api-reference/group/join-group-with-link"},{"title":"Get group information from invitation link","deprecated":null,"version":null,"openapi":"/openapi.yml get /group/info-from-link","href":"/api-reference/group/get-group-information-from-invitation-link"},{"title":"Get list of participant requests to join group","deprecated":null,"version":null,"openapi":"/openapi.yml get /group/participant-requests","href":"/api-reference/group/get-list-of-participant-requests-to-join-group"},{"title":"Approve participant request to join group","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participant-requests/approve","href":"/api-reference/group/approve-participant-request-to-join-group"},{"title":"Reject participant request to join group","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/participant-requests/reject","href":"/api-reference/group/reject-participant-request-to-join-group"},{"title":"Leave group","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/leave","href":"/api-reference/group/leave-group"},{"title":"Set group photo","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/photo","href":"/api-reference/group/set-group-photo"},{"title":"Set group name","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/name","href":"/api-reference/group/set-group-name"},{"title":"Set group locked status","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/locked","href":"/api-reference/group/set-group-locked-status"},{"title":"Set group announce mode","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/announce","href":"/api-reference/group/set-group-announce-mode"},{"title":"Set group topic","deprecated":null,"version":null,"openapi":"/openapi.yml post /group/topic","href":"/api-reference/group/set-group-topic"}]},{"group":"newsletter","pages":[{"title":"Unfollow newsletter","deprecated":null,"version":null,"openapi":"/openapi.yml post /newsletter/unfollow","href":"/api-reference/newsletter/unfollow-newsletter"}]}]},{"group":"Overview","pages":[{"title":"API Reference","sidebarTitle":"Introduction","description":"Base URL, authentication, device selection, request formats and the response envelope for the GOWA REST API.","href":"/api-reference/introduction"},{"title":"API Authentication","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Rate Limits","description":"The GOWA API has no request rate limits; WhatsApp's own limits still apply.","href":"/api-reference/rate-limits"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Client Examples","pages":[{"title":"Go","href":"/api-reference/sdks/go"},{"title":"JavaScript","href":"/api-reference/sdks/javascript"},{"title":"Python","href":"/api-reference/sdks/python"},{"title":"Postman","href":"/api-reference/sdks/postman"}]}]}]},"title":"API Authentication - WhatsApp API MultiDevice","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}