How to authenticate requests to the Stealthera API
API keys
Every request to the Stealthera API must include a valid API key. Keys are issued per client and are scoped to the devices assigned to your organization.To obtain a key, contact support@stealthera.in with your organization details. You will receive:
Your base URL — https://api.stealthera.in
An API key
Sending the key
Pass the key in the X-API-Key request header on every call.
A request without a valid X-API-Key returns 401 Unauthorized. Keep your key on the server side and never embed it in browser or mobile client code.
Good practice
Store the key in a secret manager or environment variable, not in source control.
Use a separate key per environment (staging, production).
Request a key rotation through support if a key may have been exposed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stealthera API Documentation","description":"Developer documentation for the Stealthera wearable health monitoring and emergency response platform.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/stealthera-93edf7b9/logo/light.svg","dark":"https://mintlify.s3.us-west-1.amazonaws.com/stealthera-93edf7b9/logo/dark.svg"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/stealthera-93edf7b9/favicon.svg","api":{"openapi":"openapi.yaml","playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","typescript","python"]},"mdx":{"auth":{"method":"key","name":"X-API-Key"},"server":"https://api.stealthera.in"}},"navbar":{"links":[{"href":"mailto:support@stealthera.in","label":"Support"}],"primary":{"type":"button","label":"Get API Access","href":"mailto:support@stealthera.in"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/stealthera"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stealthera-93edf7b9","hasAudioNarration":false,"actualSubdomain":"stealthera-93edf7b9","customDomains":["docs.stealthera.in"],"gitSource":{"type":"github","owner":"stealthera-in","repo":"testtest","deployBranch":"main","contentDirectory":"stealthera-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10eed79ffae5051c416c92"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95991e968ff68fada8734:success","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API Reference","count":15},{"language":"default","tag":"More Metrics","count":5},{"language":"default","tag":"Grouped Device","count":4},{"language":"default","tag":"Overview","count":3},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Alarms","count":1},{"language":"default","tag":"Device Info","count":1},{"language":"default","tag":"Health Check","count":1},{"language":"default","tag":"Health Data","count":1},{"language":"default","tag":"SOS","count":1}]},"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":"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},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"authentication","slug":"/authentication","pageMetadata":{"title":"Authentication","description":"How to authenticate requests to the Stealthera API","href":"/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: \"How to authenticate requests to the Stealthera API\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`api-keys`,children:`API keys`}),`\n`,_jsx(_components.p,{children:`Every request to the Stealthera API must include a valid API key. Keys are issued per client and are scoped to the devices assigned to your organization.`}),`\n`,_jsxs(_components.p,{children:[`To obtain a key, contact `,_jsx(_components.a,{href:`mailto:support@stealthera.in`,children:`support@stealthera.in`}),` with your organization details. You will receive:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Your `,_jsx(_components.strong,{children:`base URL`}),` — `,_jsx(_components.code,{children:`https://api.stealthera.in`})]}),`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.strong,{children:`API key`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`sending-the-key`,children:`Sending the key`}),`\n`,_jsxs(_components.p,{children:[`Pass the key in the `,_jsx(_components.code,{children:`X-API-Key`}),` request header on every call.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.stealthera.in/api/health-data`}),_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-API-Key: YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,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:`7`,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`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`resp `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.stealthera.in/api/health-data\"`}),_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-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(resp.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`5`,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:`5`,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:` resp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.stealthera.in/api/health-data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A request without a valid `,_jsx(_components.code,{children:`X-API-Key`}),` returns `,_jsx(_components.code,{children:`401 Unauthorized`}),`. Keep your key on the server side and never embed it in browser or mobile client code.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`good-practice`,children:`Good practice`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Store the key in a secret manager or environment variable, not in source control.`}),`\n`,_jsx(_components.li,{children:`Use a separate key per environment (staging, production).`}),`\n`,_jsx(_components.li,{children:`Request a key rotation through support if a key may have been exposed.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"How to authenticate requests to the Stealthera API","href":"/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API keys","slug":"api-keys","depth":2,"children":[]},{"title":"Sending the key","slug":"sending-the-key","depth":2,"children":[]},{"title":"Good practice","slug":"good-practice","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stealthera-93edf7b9","siteName":"Stealthera API Documentation","title":"Authentication - Stealthera API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-11T11:27:58.524Z","originalFileLocation":"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=\"How to authenticate requests to the Stealthera API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stealthera API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Stealthera API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to authenticate requests to the Stealthera API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stealthera API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stealthera.in/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stealthera-93edf7b9.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+Stealthera+API\u0026amp;theme=c2ca15c8c8bce00dfb3e3adc\u0026amp;signature=defa8f9505a7645e6e40885847296653e4cd669de06a406d937c45618f38ab64\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - Stealthera API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to authenticate requests to the Stealthera API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stealthera-93edf7b9.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+Stealthera+API\u0026amp;theme=c2ca15c8c8bce00dfb3e3adc\u0026amp;signature=defa8f9505a7645e6e40885847296653e4cd669de06a406d937c45618f38ab64\">\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/stealthera-93edf7b9/Ndb9La8BNh9ZsduZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stealthera API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stealthera.in/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stealthera.in/#organization\",\"name\":\"Stealthera API Documentation\",\"url\":\"https://docs.stealthera.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/stealthera-93edf7b9/logo/light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stealthera.in#website\",\"name\":\"Stealthera API Documentation\",\"url\":\"https://docs.stealthera.in\",\"publisher\":{\"@id\":\"https://docs.stealthera.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stealthera.in/authentication#webpage\",\"url\":\"https://docs.stealthera.in/authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the Stealthera API\",\"dateModified\":\"2026-06-11T11:27:58.524Z\",\"isPartOf\":{\"@id\":\"https://docs.stealthera.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stealthera.in/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stealthera.in/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.stealthera.in\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.stealthera.in/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.stealthera.in/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the Stealthera API\",\"url\":\"https://docs.stealthera.in/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stealthera.in/authentication#webpage\"},\"dateModified\":\"2026-06-11T11:27:58.524Z\",\"publisher\":{\"@id\":\"https://docs.stealthera.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stealthera.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stealthera API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stealthera API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/authentication.md","siteName":"Stealthera API Documentation","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Introduction","description":"The Stealthera wearable health monitoring and emergency response API","href":"/index"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","description":"Make your first Stealthera API call in under five minutes","href":"/quickstart"}]},{"group":"API Reference","pages":[{"group":"Health Check","pages":[{"title":"Root — API Status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /","href":"/api-reference/health-check/root-—-api-status"}]},{"group":"Watch Upload","pages":[{"title":"Upload Watch Data (binary)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /4g/pb/upload","href":"/api-reference/watch-upload/upload-watch-data-binary"}]},{"group":"Health Data","pages":[{"title":"Get All Devices — Live Health Data","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/health-data","href":"/api-reference/health-data/get-all-devices-—-live-health-data"}]},{"group":"Grouped Device","pages":[{"title":"Vitals — Heart Rate, Blood Pressure, Blood Oxygen, Body Temp","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/vitals","href":"/api-reference/grouped-device/vitals-—-heart-rate-blood-pressure-blood-oxygen-body-temp"},{"title":"Wellness — Overview, Sleep, Heart Health, Pressure (Stress)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/wellness","href":"/api-reference/grouped-device/wellness-—-overview-sleep-heart-health-pressure-stress"},{"title":"Diagnostics — ECG","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/diagnostics","href":"/api-reference/grouped-device/diagnostics-—-ecg"},{"title":"Safety — Location Track + Device Alarms","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/safety","href":"/api-reference/grouped-device/safety-—-location-track-+-device-alarms"}]},{"group":"More Metrics","pages":[{"title":"Blood Sugar","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/bloodsugar","href":"/api-reference/more-metrics/blood-sugar"},{"title":"Blood Ketone","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/bloodketone","href":"/api-reference/more-metrics/blood-ketone"},{"title":"Uric Acid","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/uricacid","href":"/api-reference/more-metrics/uric-acid"},{"title":"Blood Potassium","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/bloodpotassium","href":"/api-reference/more-metrics/blood-potassium"},{"title":"Body Composition","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/bodycomposition","href":"/api-reference/more-metrics/body-composition"}]},{"group":"Device Info","pages":[{"title":"Device Info — Hardware \u0026 Network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/info","href":"/api-reference/device-info/device-info-—-hardware-\u0026-network"}]},{"group":"SOS","pages":[{"title":"SOS Events \u0026 Call Logs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/device/{deviceId}/sos","href":"/api-reference/sos/sos-events-\u0026-call-logs"}]},{"group":"Alarms","pages":[{"title":"Get Alarm List (All Devices)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/alarms","href":"/api-reference/alarms/get-alarm-list-all-devices"}]}]},{"group":"Guides","pages":[{"title":"Hospital Integration","href":"/guides/hospital-integration"},{"title":"Device Integration","href":"/guides/device-integration"},{"title":"Error Codes","href":"/guides/error-codes"}]}]},"basePath":"","title":"Authentication - Stealthera API Documentation","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}