curl --request GET \ --url https://api.anagram.care/api/auth/v1/patients/PAT4242B/ \ --header 'Authorization: Api B3F4242424E3FDB4242424242A9C7642'
API Documentation
Authentication
How to obtain and use an API token
curl --request GET \ --url https://api.anagram.care/api/auth/v1/patients/PAT4242B/ \ --header 'Authorization: Api B3F4242424E3FDB4242424242A9C7642'
The Anagram API uses API keys to authenticate requests. You can view and manage your API keys in the Anagram App. Click “Generate new token” and follow the instructions. If you can’t find the “API Tokens” section in the settings, please contact our support team and request to activate Public API access.Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.All API requests require bearer authentication header:
Authorization: Api <your api key>
Api is the bearer name and is case sensitive. Requests without a valid token will be denied with a 401 status and an error message:
{"detail": "Invalid authentication token."}
curl --request GET \ --url https://api.anagram.care/api/auth/v1/patients/PAT4242B/ \ --header 'Authorization: Api B3F4242424E3FDB4242424242A9C7642'
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Anagram API Docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/anagram-9290ace5/6viAFDDbA6MAabPu/logo/logotype_black.svg?fit=max\u0026auto=format\u0026n=6viAFDDbA6MAabPu\u0026q=85\u0026s=0b50f269158b2f1b5049cf2908f7b6d9","dark":"https://mintcdn.com/anagram-9290ace5/6viAFDDbA6MAabPu/logo/logotype_white.svg?fit=max\u0026auto=format\u0026n=6viAFDDbA6MAabPu\u0026q=85\u0026s=f99a45f154875e44130a3d8132de023e"},"favicon":"https://mintcdn.com/anagram-9290ace5/6viAFDDbA6MAabPu/favicon_anagram.svg?fit=max\u0026auto=format\u0026n=6viAFDDbA6MAabPu\u0026q=85\u0026s=fd65c3dbd203a5868e670493619326cf","navbar":{"links":[{"href":"mailto:support@anagram.care","label":"Support"}],"primary":{"type":"button","label":"Anagram Login","href":"https://provider.anagram.care/login"}},"footer":{"socials":{"x":"https://x.com/anagramcare","linkedin":"https://www.linkedin.com/company/anagram-care"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://anagram.care"},{"anchor":"Slack","icon":"slack","href":"https://goanagram.slack.com/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.anagram.care/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"anagram-9290ace5","hasAudioNarration":false,"actualSubdomain":"anagram-9290ace5","customDomains":["api-docs.goanagram.com"],"gitSource":{"type":"github","owner":"getpatch","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae4c5fa6a2c90fb9b9ec83f","collectionId":"9f0f49d1-5d57-45e4-aae5-9d646eccc193","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae4c5fa6a2c90fb9b9ec83f"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae4c5fa6a2c90fb9b9ec83f","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":20},{"language":"default","tag":"Authenticated API","count":14},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"API Documentation","count":5},{"language":"default","tag":"Public API","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"How to obtain and use an API token","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: \"How to obtain and use an API token\"\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`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Anagram API uses `,_jsx(_components.strong,{children:`API keys`}),` to authenticate requests. You can view and manage your API keys in `,_jsx(_components.a,{href:`https://provider.anagram.care/api-tokens`,children:_jsx(_components.strong,{children:`the Anagram App`})}),`. Click “Generate new token” and follow the instructions. If you can’t find the “API Tokens” section in the settings, please contact our support team and request to activate Public API access.`]}),`\n`,_jsx(_components.p,{children:`Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.`}),`\n`,_jsxs(_components.p,{children:[`All API requests must be made over `,_jsx(_components.a,{href:`http://en.wikipedia.org/wiki/HTTP_Secure`,children:_jsx(_components.strong,{children:`HTTPS`})}),`. Calls made over plain HTTP will fail. API requests without authentication will also fail.`]}),`\n`,_jsx(_components.p,{children:`All API requests require bearer authentication header:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Api \u003cyour api key>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Api`}),` is the bearer name and is case sensitive. Requests without a valid token will be denied with a `,_jsx(_components.code,{children:`401`}),` status and an error message:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid authentication token.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\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 obtain and use an API token","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[298,303,",RequestExample}=_co"],[365,382,"if(!RequestExample)_missingMdxReference(`RequestExample`,true);return _jsxs(_Fra"],[3357,3372,",`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request`,numberOfLines:`4`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl --request GET \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --url https://api.anagram.care/api/auth/v1/patients/PAT4242B/ \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --header 'Authorization: Api B3F4242424E3FDB4242424242A9C7642'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})}function MD"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"text\">\u003ccode language=\"text\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan>curl --request GET \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> --url https://api.anagram.care/api/auth/v1/patients/PAT4242B/ \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan> --header 'Authorization: Api B3F4242424E3FDB4242424242A9C7642'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan>\u003c/span>\u003c/span>\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"anagram-9290ace5","siteName":"Anagram API Docs","title":"Authentication - Anagram API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T16:35:49.038Z","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=\"How to obtain and use an API token\">\u003cmeta data-mint-head name=\"application-name\" content=\"Anagram API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_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/anagram-9290ace5/y6DssjrDehqQaENN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Anagram API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to obtain and use an API token\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Anagram API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.goanagram.com/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://anagram-9290ace5.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=Authentication\u0026amp;description=How+to+obtain+and+use+an+API+token\u0026amp;theme=50c8471a09cf9dcf5c6f4402\u0026amp;signature=85e82027dd59e8e40d5f865e0da42e21a58e4531bc3575d2de714913cb413d9b\">\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 - Anagram API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to obtain and use an API token\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://anagram-9290ace5.mintlify.app/_mintlify/api/og/v2?division=API+Documentation\u0026amp;title=Authentication\u0026amp;description=How+to+obtain+and+use+an+API+token\u0026amp;theme=50c8471a09cf9dcf5c6f4402\u0026amp;signature=85e82027dd59e8e40d5f865e0da42e21a58e4531bc3575d2de714913cb413d9b\">\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/anagram-9290ace5/y6DssjrDehqQaENN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Anagram API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.goanagram.com/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://api-docs.goanagram.com/#organization\",\"name\":\"Anagram API Docs\",\"url\":\"https://api-docs.goanagram.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/anagram-9290ace5/6viAFDDbA6MAabPu/logo/logotype_black.svg?fit=max\u0026auto=format\u0026n=6viAFDDbA6MAabPu\u0026q=85\u0026s=0b50f269158b2f1b5049cf2908f7b6d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api-docs.goanagram.com#website\",\"name\":\"Anagram API Docs\",\"url\":\"https://api-docs.goanagram.com\",\"publisher\":{\"@id\":\"https://api-docs.goanagram.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api-docs.goanagram.com/api-reference/authentication#webpage\",\"url\":\"https://api-docs.goanagram.com/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"How to obtain and use an API token\",\"dateModified\":\"2026-01-26T16:35:49.038Z\",\"isPartOf\":{\"@id\":\"https://api-docs.goanagram.com#website\"},\"breadcrumb\":{\"@id\":\"https://api-docs.goanagram.com/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api-docs.goanagram.com/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://api-docs.goanagram.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://api-docs.goanagram.com/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://api-docs.goanagram.com/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to obtain and use an API token\",\"url\":\"https://api-docs.goanagram.com/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://api-docs.goanagram.com/api-reference/authentication#webpage\"},\"dateModified\":\"2026-01-26T16:35:49.038Z\",\"publisher\":{\"@id\":\"https://api-docs.goanagram.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api-docs.goanagram.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Anagram API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Anagram API Docs","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://anagram.care"},{"anchor":"Slack","icon":"slack","href":"https://goanagram.slack.com/"},{"anchor":"Blog","icon":"newspaper","href":"https://www.anagram.care/blog"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","description":"Welcome to Anagram's API","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Testing","description":"How to simulate test scenarios and edge cases.","href":"/api-reference/testing"},{"title":"IDs and Types","href":"/api-reference/ids-and-types"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Authenticated API","pages":[{"title":"Eligibility Request","openapi":"POST /api/auth/v1/eligibility/","href":"/api-reference/endpoint/eligibility_request"},{"title":"Eligibility Result","openapi":"GET /api/auth/v1/eligibility/{request_uid}/","href":"/api-reference/endpoint/eligibility_result"},{"title":"Eligibility Result Plan PDF","openapi":"GET /api/auth/v1/eligibility/{request_uid}/pdf/","href":"/api-reference/endpoint/eligibility_result_pdf"},{"title":"Eligibility Result V2","openapi":"GET /api/auth/v2/eligibility/{request_uid}/","tag":"Draft","href":"/api-reference/endpoint/eligibility_result_v2"},{"title":"Eligibility Details Request","openapi":"POST /api/auth/v1/eligibility/{request_uid}/details/","href":"/api-reference/endpoint/eligibility_details_request"},{"title":"Create Claim","openapi":"POST /api/auth/v1/claims/","href":"/api-reference/endpoint/create_claim"},{"title":"Send Claim Notification","openapi":"POST /api/auth/v1/claims/{claim_code}/notify-customer/","href":"/api-reference/endpoint/notify_claim_customer"},{"title":"Create Patient","openapi":"POST /api/auth/v1/patients/","href":"/api-reference/endpoint/create_patient"},{"title":"List Patients","openapi":"GET /api/auth/v1/patients/","href":"/api-reference/endpoint/list_patients"},{"title":"Patient Details","openapi":"GET /api/auth/v1/patients/{code}/","href":"/api-reference/endpoint/patient_details"},{"title":"Patient Eligibility Link","openapi":"POST /api/auth/v1/patients/{patient_code}/eligibility/","href":"/api-reference/endpoint/patient_eligibility_link"},{"title":"List Patient Eligibility Links","openapi":"GET /api/auth/v1/patients/{patient_code}/eligibility/","href":"/api-reference/endpoint/list_patient_eligibility_links"},{"title":"List Locations","openapi":"GET /api/auth/v1/locations/","href":"/api-reference/endpoint/locations"},{"title":"Start Embedded Session","openapi":"POST /api/auth/v1/iframe-session/","href":"/api-reference/endpoint/start_iframe_session"}]},{"group":"Public API","pages":[{"title":"List Insurers","openapi":"GET /api/public/1/insurers/","href":"/api-reference/endpoint/list_insurers"}]}]}]},"basePath":"","title":"Authentication - Anagram API Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["2b790eda92"],"chunks":["ApiExamples-C0lapOpP.js","utils-ME8dDnLe.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js"]}