An API key authenticates your backend. A session key authenticates an individual AI agent acting within the limits of a specific mandate. It’s how an agent transacts without ever holding your master API key or a wallet’s private key.Session keys are:
Time-bound: created with an explicit expires_in
Velocity-bound: capped by the max_amount / interval set on the parent mandate
Revocable: can be invalidated independently of the mandate that issued them
For flows that require proving an account or agent is a verified, unique, KYC’d entity, OpenFi issues W3C Verifiable Credentials (VC-JWT format), rooted at did:web:openfi.co for issuer identity and did:pkh for wallet-based subjects. See Identity overview.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenFi","description":"Hybrid Open Finance infrastructure: bi-directional Open Banking + Web3 rails for humans and AI agents.","colors":{"primary":"#0D5C4F","light":"#2FBF9F","dark":"#093F37"},"logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/open-fi/logo/light.png","dark":"https://mintlify.s3.us-west-1.amazonaws.com/open-fi/logo/dark.png"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/open-fi/images/favicon.png","navbar":{"links":[{"href":"mailto:ruth@getflick.app","label":"Support"}],"primary":{"type":"button","label":"Get API Keys","href":"https://openfi.co"}},"footer":{"socials":{"website":"https://openfi.co"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"open-fi","hasAudioNarration":false,"actualSubdomain":"open-fi","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-open-fi-df26afda","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adcff6a297ed196bffa4958","collectionId":"1b66223f-aec1-4ab1-bf0b-767929bac06a","liveDeploymentHistoryId":"6adcff6a297ed196bffa4958","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6add01aa101b90289a84117e","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Get Started","count":4},{"language":"default","tag":"Agentic (recurring pulls)","count":3},{"language":"default","tag":"Payments (one-time)","count":2},{"language":"default","tag":"Identity","count":1},{"language":"default","tag":"Overview","count":1},{"language":"default","tag":"Data Oracle (V2 Roadmap)","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","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":"editor-nav-generations","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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"authentication","slug":"/authentication","pageMetadata":{"title":"Authentication","description":"How to authenticate requests to the OpenFi 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 OpenFi 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`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`OpenFi uses standard bearer API keys for account-level authentication, plus a separate signing scheme for agentic session keys.`}),`\n`,_jsx(Heading,{level:`2`,id:`api-keys`,children:`API keys`}),`\n`,_jsxs(_components.p,{children:[`Every request must include your account API key in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),`\n`,_jsx(CodeBlock,{filename:``,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.openfi.co/v1/payments`}),_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:` \"Authorization: Bearer sk_live_...\"`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Environment`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sk_testnet_...`})}),_jsx(_components.td,{children:`Testnet: simulated rails, no real money movement`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sk_live_...`})}),_jsx(_components.td,{children:`Mainnet`})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Keep live API keys server-side only. Never embed a live key in client-side or agent-facing code; use a scoped session key instead (see below).`})}),`\n`,_jsx(Heading,{level:`2`,id:`session-keys-for-autonomous-agents`,children:`Session keys (for autonomous agents)`}),`\n`,_jsxs(_components.p,{children:[`An API key authenticates `,_jsx(_components.em,{children:`your`}),` backend. A `,_jsx(_components.strong,{children:`session key`}),` authenticates an `,_jsx(_components.em,{children:`individual AI agent`}),` acting within the limits of a specific mandate. It’s how an agent transacts without ever holding your master API key or a wallet’s private key.`]}),`\n`,_jsx(_components.p,{children:`Session keys are:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Time-bound`}),`: created with an explicit `,_jsx(_components.code,{children:`expires_in`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Velocity-bound`}),`: capped by the `,_jsx(_components.code,{children:`max_amount`}),` / `,_jsx(_components.code,{children:`interval`}),` set on the parent mandate`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Revocable`}),`: can be invalidated independently of the mandate that issued them`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.openfi.co/v1/session-keys`}),_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:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$OPENFI_API_KEY`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"mandate_id\": \"man_123\", \"expires_in\": 86400 }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api-reference/agentic/create-session-key`,children:`Create a session key`}),` for the full reference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`identity-credentials`,children:`Identity credentials`}),`\n`,_jsxs(_components.p,{children:[`For flows that require proving an account or agent is a verified, unique, KYC’d entity, OpenFi issues `,_jsx(_components.strong,{children:`W3C Verifiable Credentials`}),` (VC-JWT format), rooted at `,_jsx(_components.code,{children:`did:web:openfi.co`}),` for issuer identity and `,_jsx(_components.code,{children:`did:pkh`}),` for wallet-based subjects. See `,_jsx(_components.a,{href:`/api-reference/identity/overview`,children:`Identity overview`}),`.`]})]})}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 OpenFi API.","href":"/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API keys","slug":"api-keys","depth":2,"children":[]},{"title":"Session keys (for autonomous agents)","slug":"session-keys-for-autonomous-agents","depth":2,"children":[]},{"title":"Identity credentials","slug":"identity-credentials","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"open-fi","siteName":"OpenFi","title":"Authentication - OpenFi","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-27T08:46:46.741Z","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 OpenFi API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_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/open-fi/tWgFYPoWW3MFBG-F/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - OpenFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to authenticate requests to the OpenFi API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://open-fi.mintlify.app/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://open-fi.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+OpenFi+API.\u0026amp;theme=b77005b09617e23af1f7f6b8\u0026amp;signature=7eb82a7fa1b8fede7919abf0ec924793a0fe9426505fe2a5b183ce6ab6970290\">\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 - OpenFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to authenticate requests to the OpenFi API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://open-fi.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+requests+to+the+OpenFi+API.\u0026amp;theme=b77005b09617e23af1f7f6b8\u0026amp;signature=7eb82a7fa1b8fede7919abf0ec924793a0fe9426505fe2a5b183ce6ab6970290\">\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/open-fi/tWgFYPoWW3MFBG-F/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D5C4F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://open-fi.mintlify.app/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://open-fi.mintlify.app/#organization\",\"name\":\"OpenFi\",\"url\":\"https://open-fi.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/open-fi/logo/light.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://open-fi.mintlify.app#website\",\"name\":\"OpenFi\",\"url\":\"https://open-fi.mintlify.app\",\"publisher\":{\"@id\":\"https://open-fi.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://open-fi.mintlify.app/authentication#webpage\",\"url\":\"https://open-fi.mintlify.app/authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the OpenFi API.\",\"dateModified\":\"2026-08-27T08:46:46.741Z\",\"isPartOf\":{\"@id\":\"https://open-fi.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://open-fi.mintlify.app/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://open-fi.mintlify.app/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://open-fi.mintlify.app/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://open-fi.mintlify.app/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://open-fi.mintlify.app/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate requests to the OpenFi API.\",\"url\":\"https://open-fi.mintlify.app/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://open-fi.mintlify.app/authentication#webpage\"},\"dateModified\":\"2026-08-27T08:46:46.741Z\",\"publisher\":{\"@id\":\"https://open-fi.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://open-fi.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenFi\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenFi","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","description":"Make your first OpenFi API call in the testnet environment.","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Use Cases","description":"Three canonical flows showing how OpenFi's pillars combine in practice.","href":"/use-cases"}]},{"group":"Core Concepts","pages":[{"title":"Payments vs. Mandates","href":"/essentials/payments-vs-mandates"},{"title":"The Allowance State Machine","href":"/essentials/allowance-state-machine"},{"title":"Atomic Clearing \u0026 Escrows","href":"/essentials/atomic-clearing"},{"title":"Identity \u0026 Verifiable Credentials","href":"/essentials/identity-and-vcs"},{"title":"Supported Rails","href":"/essentials/supported-rails"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"title":"Authentication - OpenFi","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}