À l’exception de la gestion des clés, réservée à la session de la console, les routes authentifiées acceptent une clé d’API dans le header HTTP Authorization.
Une nouvelle clé n’est affichée qu’une seule fois. Conservez-la dans un gestionnaire de secrets et ne l’envoyez jamais dans l’URL ou le corps d’une requête.
available déduit du solde les estimations de toutes les générations qui ne sont pas encore réglées. Utilisez cette valeur pour savoir si une nouvelle génération peut être acceptée.
Gérer les clés
La console Fanify permet de créer, lister et révoquer vos clés. Les routes /api/v1/hub/keys exigent le cookie de session de la console et le header X-Requested-With: XMLHttpRequest. Elles refusent l’authentification Bearer.Une clé révoquée renvoie ensuite une erreur 401 unauthorized. Consultez la référence des erreurs.
Cette page vous a-t-elle été utile ?
{"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":"fr/hub/authentication","slug":"/fr/hub/authentication","pageMetadata":{"title":"Authentification","description":"Créez et utilisez une clé d'API Fanify Hub.","href":"/fr/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: \"Créez et utilisez une clé d’API Fanify Hub.\"\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:[`À l’exception de la gestion des clés, réservée à la session de la console, les routes authentifiées acceptent une clé d’API dans le header HTTP `,_jsx(_components.code,{children:`Authorization`}),`.`]}),`\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:`Une nouvelle clé n’est affichée qu’une seule fois. Conservez-la dans un gestionnaire de secrets et ne l’envoyez jamais dans l’URL ou le corps d’une requête.`})}),`\n`,_jsx(Heading,{level:`2`,id:`vérifier-la-clé-et-le-solde`,children:`Vérifier la clé et le solde`}),`\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`}),` déduit du solde les estimations de toutes les générations qui ne sont pas encore réglées. Utilisez cette valeur pour savoir si une nouvelle génération peut être acceptée.`]}),`\n`,_jsx(Heading,{level:`2`,id:`gérer-les-clés`,children:`Gérer les clés`}),`\n`,_jsxs(_components.p,{children:[`La console Fanify permet de créer, lister et révoquer vos clés. Les routes `,_jsx(_components.code,{children:`/api/v1/hub/keys`}),` exigent le cookie de session de la console et le header `,_jsx(_components.code,{children:`X-Requested-With: XMLHttpRequest`}),`. Elles refusent l’authentification Bearer.`]}),`\n`,_jsxs(_components.p,{children:[`Une clé révoquée renvoie ensuite une erreur `,_jsx(_components.code,{children:`401 unauthorized`}),`. Consultez la `,_jsx(_components.a,{href:`/fr/hub/errors`,children:`référence des erreurs`}),`.`]})]})}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":"Authentification","description":"Créez et utilisez une clé d'API Fanify Hub.","href":"/fr/hub/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Vérifier la clé et le solde","slug":"vérifier-la-clé-et-le-solde","depth":2,"children":[]},{"title":"Gérer les clés","slug":"gérer-les-clés","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"saufrasoft","siteName":"Fanify","title":"Authentification - Fanify","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/fr/hub/authentication","matchLevel":0},"en":{"href":"/en/hub/authentication","matchLevel":1}}},"lastModified":"2026-09-14T03:31:23.768Z","originalFileLocation":"fr/hub/authentication.mdx","locale":"fr"},"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=\"Créez et utilisez une clé d\u0026#x27;API Fanify Hub.\">\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=\"Authentification - Fanify\">\u003cmeta data-mint-head property=\"og:description\" content=\"Créez et utilisez une clé d\u0026#x27;API Fanify Hub.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fanify\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fanifyai.com/fr/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=Authentification\u0026amp;description=Cr%C3%A9ez+et+utilisez+une+cl%C3%A9+d%27API+Fanify+Hub.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=e32f4c9ec0b6aa2042a07bb58220fffc5d0e62df13dbb9278ef97ec2771262c7\">\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=\"Authentification - Fanify\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Créez et utilisez une clé d\u0026#x27;API Fanify Hub.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://saufrasoft.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=Authentification\u0026amp;description=Cr%C3%A9ez+et+utilisez+une+cl%C3%A9+d%27API+Fanify+Hub.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=e32f4c9ec0b6aa2042a07bb58220fffc5d0e62df13dbb9278ef97ec2771262c7\">\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/fr/hub/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/hub/authentication.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.fanifyai.com/fr/hub/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.fanifyai.com/en/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/fr/hub/authentication#webpage\",\"url\":\"https://docs.fanifyai.com/fr/hub/authentication\",\"name\":\"Authentification\",\"description\":\"Créez et utilisez une clé d'API Fanify Hub.\",\"dateModified\":\"2026-09-14T03:31:23.768Z\",\"isPartOf\":{\"@id\":\"https://docs.fanifyai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fanifyai.com/fr/hub/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fanifyai.com/fr/hub/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fanify\",\"item\":\"https://docs.fanifyai.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentification\",\"item\":\"https://docs.fanifyai.com/fr/hub/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fanifyai.com/fr/hub/authentication#article\",\"headline\":\"Authentification\",\"name\":\"Authentification\",\"description\":\"Créez et utilisez une clé d'API Fanify Hub.\",\"url\":\"https://docs.fanifyai.com/fr/hub/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fanifyai.com/fr/hub/authentication#webpage\"},\"dateModified\":\"2026-09-14T03:31:23.768Z\",\"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":"/fr/hub/authentication.md","siteName":"Fanify","nav":{"global":null,"languages":[{"language":"fr","tabs":[{"tab":"Basique","icon":"bolt","pages":[{"title":"Basique","href":"/fr/basics/introduction"}]},{"tab":"Avancé","icon":"cube","pages":[{"title":"Avancé","href":"/fr/advanced/introduction"}]},{"tab":"Fanify Hub","icon":"wand-magic-sparkles","pages":[{"title":"Vue d'ensemble","href":"/fr/hub/overview"},{"title":"Utiliser Fanify Hub avec une IA","href":"/fr/hub/agent-skill"},{"group":"Guide","icon":"book-open","pages":[{"title":"Démarrage","href":"/fr/hub/getting-started"},{"title":"File d'attente et priorité","href":"/fr/hub/queue-and-priority"}]},{"group":"Références","icon":"bookmark","pages":[{"title":"Préparer les photos de votre personnage","sidebarTitle":"Dataset du personnage","href":"/fr/hub/prepare-character-dataset"},{"title":"Écrire un prompt d'image avec SDXL","sidebarTitle":"Prompting SDXL","href":"/fr/hub/prompting-sdxl"},{"title":"Écrire un prompt vidéo pour MiniMax H3","sidebarTitle":"Prompting MiniMax H3","description":"Animez une ou deux images dans Fanify Hub avec un prompt vidéo simple et structuré.","href":"/fr/hub/prompting-minimax-h3"}]},{"group":"API","icon":"plug","expanded":false,"pages":[{"title":"Authentification","href":"/fr/hub/authentication"},{"title":"Modèles et tarifs","description":"Listez les modèles Fanify Hub et estimez le coût d'une génération.","href":"/fr/hub/models-and-pricing"},{"title":"Générations","href":"/fr/hub/generations"},{"title":"Décisions","href":"/fr/hub/decisions"},{"title":"Embeddings","href":"/fr/hub/embeddings"},{"title":"Transcriptions","href":"/fr/hub/transcriptions"},{"title":"Fichiers","href":"/fr/hub/files"},{"title":"Webhooks","href":"/fr/hub/webhooks"},{"title":"Erreurs","href":"/fr/hub/errors"}]},{"group":"Référence API","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-fr/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-fr/decisions/decision"}]},{"group":"Embeddings","pages":[{"title":"Embeddings","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/embeddings","href":"/hub/reference-fr/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-fr/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-fr/files/list-files"},{"title":"Upload file","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/files","href":"/hub/reference-fr/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-fr/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-fr/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-fr/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-fr/generations/list-generations"},{"title":"Create generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/generations","href":"/hub/reference-fr/generations/create-generation"},{"title":"Get generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/generations/{id}","href":"/hub/reference-fr/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-fr/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-fr/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-fr/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-fr/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-fr/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-fr/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-fr/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-fr/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/webhooks","href":"/hub/reference-fr/webhooks/create-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/webhooks/{id}","href":"/hub/reference-fr/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-fr/reference/openapi-document"}]}]}]}]},{"language":"en","pages":[{"title":"en","href":"/en/hub/authentication"}]}]},"basePath":"","title":"Authentification - Fanify","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}