available subtracts estimates for every generation that has not been settled yet. Use it to determine whether a new generation can be accepted.
Manage keys
The Fanify console lets you create, list, and revoke keys. The /api/v1/hub/keys routes require the console session cookie and the X-Requested-With: XMLHttpRequest header. They reject Bearer authentication.A revoked key returns 401 unauthorized. See the error reference.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fanify","colors":{"primary":"#4972F3","light":"#D925D2","dark":"#D925D2"},"logo":{"light":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a","dark":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a"},"favicon":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/favicon.ico?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=9bea3adf79a19604764594f2ac9abbab","navbar":{"links":[{"href":"https://fanifyai.com/","label":"Website"},{"href":"https://fanifyai.com/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://fanifyai.com/console"}},"footer":{"socials":{"discord":"https://discord.gg/kW93Ug4wTJ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"fr","href":"fr/basics/introduction"},{"language":"en","href":"en/hub/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"saufrasoft","hasAudioNarration":false,"actualSubdomain":"saufrasoft","customDomains":["docs.fanifyai.com"],"gitSource":{"type":"github","owner":"saufras0ft","repo":"fanify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b025ff116b5d194c012a1b5","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"fr","tag":"Avancé","count":291},{"language":"fr","tag":"Stratégies","count":268},{"language":"fr","tag":"Conditions","count":228},{"language":"fr","tag":"Actions","count":39},{"language":"fr","tag":"Fanify Hub","count":39},{"language":"en","tag":"Fanify Hub","count":34},{"language":"fr","tag":"Messages","count":28},{"language":"fr","tag":"Compte du fan","count":28},{"language":"fr","tag":"Style de vie","count":27},{"language":"fr","tag":"Basique","count":27},{"language":"en","tag":"API reference","count":23},{"language":"fr","tag":"Référence API","count":23},{"language":"en","tag":"API","count":9},{"language":"en","tag":"Files","count":5},{"language":"en","tag":"Generations","count":4},{"language":"en","tag":"API keys","count":3},{"language":"en","tag":"Webhooks","count":3},{"language":"en","tag":"Models","count":2},{"language":"en","tag":"Account","count":1},{"language":"en","tag":"Chat","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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".faq-tag{display:inline-block;padding:2px 8px;font-size:10px;font-weight:500;letter-spacing:0.02em;border-radius:6px;background:rgba(73, 114, 243, 0.08);color:#4972F3;border:1px solid rgba(73, 114, 243, 0.15);transition:background 0.15s ease, border-color 0.15s ease}.dark .faq-tag{background:rgba(217, 37, 210, 0.12);color:#D925D2;border-color:rgba(217, 37, 210, 0.25)}.hub-agent-card [data-component-part=\"card-content-container\"]{padding-block:0.75rem}.hub-agent-card [data-component-part=\"card-cta\"]{margin-top:0.5rem}"}]}
{"page":{"pagePath":"en/hub/authentication","slug":"/en/hub/authentication","pageMetadata":{"title":"Authentication","description":"Create and use a Fanify Hub API key.","href":"/en/hub/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: \"Create and use a Fanify Hub API key.\"\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`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Except for key management, which is restricted to the console session, authenticated routes accept an API key in the HTTP `,_jsx(_components.code,{children:`Authorization`}),` 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:` Bearer fanify_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`A new key is displayed only once. Store it in a secret manager and never send it in a URL or request body.`})}),`\n`,_jsx(Heading,{level:`2`,id:`check-the-key-and-balance`,children:`Check the key and balance`}),`\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://fanifyai.com/api/v1/me`}),_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:`$FANIFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"client_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"client@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"membership\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"balance\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4.952100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`4.912100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Instance ABCD-EFGH-IJKL-MNOP-QRST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prefix\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fanify_sk_a1B2c3D4\"`})]}),`\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`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`available`}),` subtracts estimates for every generation that has not been settled yet. Use it to determine whether a new generation can be accepted.`]}),`\n`,_jsx(Heading,{level:`2`,id:`manage-keys`,children:`Manage keys`}),`\n`,_jsxs(_components.p,{children:[`The Fanify console lets you create, list, and revoke keys. The `,_jsx(_components.code,{children:`/api/v1/hub/keys`}),` routes require the console session cookie and the `,_jsx(_components.code,{children:`X-Requested-With: XMLHttpRequest`}),` header. They reject Bearer authentication.`]}),`\n`,_jsxs(_components.p,{children:[`A revoked key returns `,_jsx(_components.code,{children:`401 unauthorized`}),`. See the `,_jsx(_components.a,{href:`/en/hub/errors`,children:`error reference`}),`.`]})]})}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":"Create and use a Fanify Hub API key.","href":"/en/hub/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Check the key and balance","slug":"check-the-key-and-balance","depth":2,"children":[]},{"title":"Manage keys","slug":"manage-keys","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"saufrasoft","siteName":"Fanify","title":"Authentication - Fanify","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/fr/hub/authentication","matchLevel":1},"en":{"href":"/en/hub/authentication","matchLevel":0}}},"lastModified":"2026-09-14T03:31:24.579Z","originalFileLocation":"en/hub/authentication.mdx","locale":"en"},"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=\"Create and use a Fanify Hub API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fanify\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Fanify\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and use a Fanify Hub API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fanify\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fanifyai.com/en/hub/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://saufrasoft.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=Authentication\u0026amp;description=Create+and+use+a+Fanify+Hub+API+key.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=a471058056a1fc026babbaae43ab8bcb61bd1d4900c7914a147c0be67926f7bd\">\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 - Fanify\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and use a Fanify Hub API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://saufrasoft.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=Authentication\u0026amp;description=Create+and+use+a+Fanify+Hub+API+key.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=a471058056a1fc026babbaae43ab8bcb61bd1d4900c7914a147c0be67926f7bd\">\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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fanify\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4972F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fanifyai.com/en/hub/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/hub/authentication.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.fanifyai.com/en/hub/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.fanifyai.com/fr/hub/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.fanifyai.com/fr/hub/authentication\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fanifyai.com/#organization\",\"name\":\"Fanify\",\"url\":\"https://docs.fanifyai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fanifyai.com#website\",\"name\":\"Fanify\",\"url\":\"https://docs.fanifyai.com\",\"publisher\":{\"@id\":\"https://docs.fanifyai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fanifyai.com/en/hub/authentication#webpage\",\"url\":\"https://docs.fanifyai.com/en/hub/authentication\",\"name\":\"Authentication\",\"description\":\"Create and use a Fanify Hub API key.\",\"dateModified\":\"2026-09-14T03:31:24.579Z\",\"isPartOf\":{\"@id\":\"https://docs.fanifyai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fanifyai.com/en/hub/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fanifyai.com/en/hub/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fanify\",\"item\":\"https://docs.fanifyai.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.fanifyai.com/en/hub/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fanifyai.com/en/hub/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Create and use a Fanify Hub API key.\",\"url\":\"https://docs.fanifyai.com/en/hub/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fanifyai.com/en/hub/authentication#webpage\"},\"dateModified\":\"2026-09-14T03:31:24.579Z\",\"publisher\":{\"@id\":\"https://docs.fanifyai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fanifyai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fanify\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fanify\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/hub/authentication.md","siteName":"Fanify","nav":{"global":null,"languages":[{"language":"fr","pages":[{"title":"fr","href":"/fr/hub/authentication"}]},{"language":"en","tabs":[{"tab":"Fanify Hub","icon":"wand-magic-sparkles","pages":[{"title":"Overview","href":"/en/hub/overview"},{"title":"Use Fanify Hub with an AI","description":"Give your AI assistant access to Fanify Hub in a few minutes.","href":"/en/hub/agent-skill"},{"group":"API","icon":"plug","expanded":false,"pages":[{"title":"Authentication","href":"/en/hub/authentication"},{"title":"Models and pricing","description":"List Fanify Hub models and estimate generation costs.","href":"/en/hub/models-and-pricing"},{"title":"Generations","href":"/en/hub/generations"},{"title":"Decisions","href":"/en/hub/decisions"},{"title":"Embeddings","href":"/en/hub/embeddings"},{"title":"Transcriptions","href":"/en/hub/transcriptions"},{"title":"Files","href":"/en/hub/files"},{"title":"Webhooks","href":"/en/hub/webhooks"},{"title":"Errors","href":"/en/hub/errors"}]},{"group":"API reference","icon":"code","expanded":false,"pages":[{"group":"Chat","pages":[{"title":"Chat Completion","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/chat/completions","href":"/hub/reference-en/chat/chat-completion"}]},{"group":"Decisions","pages":[{"title":"Decision","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/decisions","href":"/hub/reference-en/decisions/decision"}]},{"group":"Embeddings","pages":[{"title":"Embeddings","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/embeddings","href":"/hub/reference-en/embeddings/embeddings"}]},{"group":"Transcriptions","pages":[{"title":"Transcription","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/audio/transcriptions","href":"/hub/reference-en/transcriptions/transcription"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/files","href":"/hub/reference-en/files/list-files"},{"title":"Upload file","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/files","href":"/hub/reference-en/files/upload-file"},{"title":"Download file by hash","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/download-file-by-hash"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/delete-file"},{"title":"Probe file by hash","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json head /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/probe-file-by-hash"}]},{"group":"Generations","pages":[{"title":"List generations","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/generations","href":"/hub/reference-en/generations/list-generations"},{"title":"Create generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/generations","href":"/hub/reference-en/generations/create-generation"},{"title":"Get generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/generations/{id}","href":"/hub/reference-en/generations/get-generation"},{"title":"Cancel generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/generations/{id}/cancel","href":"/hub/reference-en/generations/cancel-generation"}]},{"group":"API keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/keys","href":"/hub/reference-en/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/keys","href":"/hub/reference-en/api-keys/create-api-key"},{"title":"Revoke API key","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/keys/{id}","href":"/hub/reference-en/api-keys/revoke-api-key"}]},{"group":"Account","pages":[{"title":"Get account","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/me","href":"/hub/reference-en/account/get-account"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/models","href":"/hub/reference-en/models/list-models"},{"title":"Estimate price","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/models/{id}/pricing","href":"/hub/reference-en/models/estimate-price"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/webhooks","href":"/hub/reference-en/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/webhooks","href":"/hub/reference-en/webhooks/create-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/webhooks/{id}","href":"/hub/reference-en/webhooks/delete-webhook"}]},{"group":"Reference","pages":[{"title":"OpenAPI document","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/openapi.json","href":"/hub/reference-en/reference/openapi-document"}]}]}]}]}]},"basePath":"","title":"Authentication - Fanify","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}