Escolha um nome, scopes e, opcionalmente, restrinja a projetos específicos
Copie a key imediatamente — ela só será mostrada uma vez
Usar a sua key
# Mantenha a chave fora do histórico do shell: exporte-a uma vez e depois referencie-aexport FINSEO_API_KEY="<your key from Settings > API>"curl -H "Authorization: Bearer $FINSEO_API_KEY" \ https://api.finseo.ai/v1/projects
GET /v1/me devolve a conta à qual uma chave pertence. Use-o para confirmar que uma chave é válida,
mostrar aos utilizadores que conta ligaram e ler os scopes da chave — responde independentemente de a
conta já ter projetos, o que o torna o endpoint adequado para integrações e testes de ligação.
Uma chave inválida ou revogada devolve 401 com o código de erro UNAUTHORIZED.
Scopes
As API keys podem ter um ou mais scopes:
Scope
Descrição
read
Ler dados (projetos, prompts, métricas, concorrentes, fontes)
write
Modificar dados (criar prompts, atualizar tags, gerir projetos)
export
Exportar dados de rastreamento em bloco
Restrições de projeto
Opcionalmente, pode restringir uma key a projetos específicos. Uma key sem restrições de projeto tem acesso a todos os projetos da sua conta.
Segurança da key
Nunca exponha API keys em código do lado do cliente ou em repositórios públicos.
As keys são cifradas com SHA-256 antes de serem armazenadas — nunca guardamos texto simples
Rode as keys regularmente e revogue imediatamente keys comprometidas
Use keys de teste no desenvolvimento e keys live em produção
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Finseo","colors":{"primary":"#1C1C1C","light":"#F3F2F0","dark":"#1C1C1C"},"logo":{"light":"https://mintcdn.com/finseoai/ab83wZXscDxQRn9M/logo/light.svg?fit=max\u0026auto=format\u0026n=ab83wZXscDxQRn9M\u0026q=85\u0026s=b38004b8894389a616ae66bbb93c646e","dark":"https://mintcdn.com/finseoai/ab83wZXscDxQRn9M/logo/dark.svg?fit=max\u0026auto=format\u0026n=ab83wZXscDxQRn9M\u0026q=85\u0026s=0f45430b7ea87f0d3f9128294583f9d8","href":"https://finseo.ai"},"favicon":"https://mintcdn.com/finseoai/ab83wZXscDxQRn9M/favicon.svg?fit=max\u0026auto=format\u0026n=ab83wZXscDxQRn9M\u0026q=85\u0026s=5fb5f13413546184e2577df39da782ab","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.finseo.ai"}},"background":{"color":{"light":"#F3F2F0","dark":"#171615"}},"navbar":{"links":[{"href":"https://finseo.ai","label":"finseo.ai"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://app.finseo.ai"}},"footer":{"socials":{"website":"https://finseo.ai","linkedin":"https://linkedin.com/company/finseo"}},"seo":{"indexing":"all"},"fonts":{"heading":{"family":"Season Serif","weight":400,"source":"fonts/SeasonSerif-Regular.woff2","format":"woff2"},"body":{"family":"Geist"}},"styling":{"codeblocks":"system","latex":false},"navigation":{"languages":[{"language":"en","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.finseo.ai/developer"}},"href":""},{"language":"de","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"API-Key holen","href":"https://app.finseo.ai/developer"}},"href":"de"},{"language":"fr","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obtenir une clé API","href":"https://app.finseo.ai/developer"}},"href":"fr"},{"language":"it","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Ottieni una chiave API","href":"https://app.finseo.ai/developer"}},"href":"it"},{"language":"es","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obtener clave API","href":"https://app.finseo.ai/developer"}},"href":"es"},{"language":"pt","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obter chave de API","href":"https://app.finseo.ai/developer"}},"href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"finseoai","hasAudioNarration":false,"actualSubdomain":"finseoai","customDomains":["docs.finseo.ai"],"gitSource":{"type":"github","owner":"avorice-freiburg","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b05823aad87caf63b408cd8","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"Integrations","count":42},{"language":"de","tag":"Integrationen","count":42},{"language":"es","tag":"Integraciones","count":42},{"language":"fr","tag":"Intégrations","count":42},{"language":"it","tag":"Integrazioni","count":42},{"language":"pt","tag":"Integrações","count":42},{"language":"en","tag":"API","count":27},{"language":"de","tag":"API","count":26},{"language":"es","tag":"API","count":22},{"language":"fr","tag":"API","count":22},{"language":"it","tag":"API","count":22},{"language":"pt","tag":"API","count":22},{"language":"en","tag":"Attribution \u0026 CRM","count":15},{"language":"de","tag":"Attribution \u0026 CRM","count":15},{"language":"es","tag":"Atribución y CRM","count":15},{"language":"fr","tag":"Attribution \u0026 CRM","count":15},{"language":"it","tag":"Attribuzione e CRM","count":15},{"language":"pt","tag":"Atribuição e CRM","count":15},{"language":"en","tag":"MCP","count":13},{"language":"de","tag":"MCP","count":13},{"language":"en","tag":"Docs","count":10},{"language":"de","tag":"Docs","count":10},{"language":"es","tag":"Docs","count":10},{"language":"fr","tag":"Docs","count":10},{"language":"it","tag":"Docs","count":10},{"language":"pt","tag":"Docs","count":10},{"language":"en","tag":"Analytics","count":8},{"language":"en","tag":"Tools","count":8},{"language":"de","tag":"Analytics","count":8},{"language":"de","tag":"Erste Schritte","count":8},{"language":"de","tag":"Tools","count":8},{"language":"es","tag":"Analytics","count":8},{"language":"fr","tag":"Analytics","count":8},{"language":"it","tag":"Analytics","count":8},{"language":"pt","tag":"Analytics","count":8},{"language":"en","tag":"Project management","count":7},{"language":"en","tag":"E-commerce \u0026 surveys","count":7},{"language":"de","tag":"Projektmanagement","count":7},{"language":"de","tag":"E-Commerce \u0026 Umfragen","count":7},{"language":"es","tag":"Gestión de proyectos","count":7},{"language":"es","tag":"E-commerce y encuestas","count":7},{"language":"fr","tag":"Gestion de projet","count":7},{"language":"fr","tag":"E-commerce et sondages","count":7},{"language":"it","tag":"Gestione progetti","count":7},{"language":"it","tag":"E-commerce e sondaggi","count":7},{"language":"pt","tag":"Gestão de projetos","count":7},{"language":"pt","tag":"E-commerce e pesquisas","count":7},{"language":"en","tag":"Overview","count":5},{"language":"es","tag":"Descripción general","count":5},{"language":"fr","tag":"Vue d'ensemble","count":5},{"language":"it","tag":"Panoramica","count":5},{"language":"pt","tag":"Visão geral","count":5},{"language":"es","tag":"Attribution","count":4},{"language":"es","tag":"Projects","count":4},{"language":"fr","tag":"Attribution","count":4},{"language":"fr","tag":"Projects","count":4},{"language":"it","tag":"Attribution","count":4},{"language":"it","tag":"Projects","count":4},{"language":"pt","tag":"Attribution","count":4},{"language":"pt","tag":"Projects","count":4}]},"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":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--finseo-ink: #1C1C1C;--finseo-ember: #E8590C;--finseo-stone: #F3F2F0;--finseo-edge: #E7E3DB;--finseo-night: #171615;--finseo-night-line: #1F1E1C}h1,h2,h3,h4,h5,h6{font-weight:400!important;font-synthesis:none}code,kbd,pre,samp{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, monospace}::selection{background:rgba(232, 89, 12, 0.2)}nav img[alt*=\"logo\"i],nav img[src*=\"/logo/\"],header img[src*=\"/logo/\"],a[href=\"/\"] img,img.logo{max-height:18px!important;width:auto!important}[class*=\"logo\"] img,[class*=\"Logo\"] img{max-height:18px!important;width:auto!important}button,input,select,textarea,[class*=\"rounded\"]{border-radius:0!important}nav img[src*=\"/logo/\"],header img[src*=\"/logo/\"],a[href=\"/\"] img[src*=\"/logo/\"]{max-height:24px!important}#content-area a:hover{text-decoration-color:var(--finseo-ember)!important}"}]}
{"page":{"pagePath":"pt/authentication","slug":"/pt/authentication","pageMetadata":{"title":"Autenticação da API e chaves de API","sidebarTitle":"Autenticação","description":"Como autenticar na API da Finseo utilizando API keys.","href":"/pt/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: \"Como autenticar na API da Finseo utilizando API keys.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`autenticação`,children:`Autenticação`}),`\n`,_jsxs(_components.p,{children:[`Todos os pedidos à API requerem uma API key válida no cabeçalho `,_jsx(_components.code,{children:`Authorization`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`obter-a-sua-api-key`,children:`Obter a sua API key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Aceda a `,_jsx(_components.a,{href:`https://app.finseo.ai/developer`,children:`Settings > API`}),` no dashboard da Finseo`]}),`\n`,_jsxs(_components.li,{children:[`Clique em `,_jsx(_components.strong,{children:`Create API Key`})]}),`\n`,_jsx(_components.li,{children:`Escolha um nome, scopes e, opcionalmente, restrinja a projetos específicos`}),`\n`,_jsx(_components.li,{children:`Copie a key imediatamente — ela só será mostrada uma vez`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`usar-a-sua-key`,children:`Usar a sua key`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,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:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Mantenha a chave fora do histórico do shell: exporte-a uma vez e depois referencie-a`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FINSEO_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour key from Settings > API>\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_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:`$FINSEO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.finseo.ai/v1/projects`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.finseo.ai/v1/projects\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`3`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.finseo.ai/v1/projects\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`verificar-uma-chave`,children:`Verificar uma chave`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /v1/me`}),` devolve a conta à qual uma chave pertence. Use-o para confirmar que uma chave é válida,\nmostrar aos utilizadores que conta ligaram e ler os scopes da chave — responde independentemente de a\nconta já ter projetos, o que o torna o endpoint adequado para integrações e testes de ligação.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_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:`$FINSEO_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.finseo.ai/v1/me`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,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:` \"data\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6a81e088f8ef06e062c40633\"`}),_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:`\"you@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:` \"accountName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your Company\"`}),_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:` \"tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Business\"`}),_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:` \"projectCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_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:` \"scopes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"write\"`}),_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:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"live\"`})]}),`\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:[`Uma chave inválida ou revogada devolve `,_jsx(_components.code,{children:`401`}),` com o código de erro `,_jsx(_components.code,{children:`UNAUTHORIZED`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`scopes`,children:`Scopes`}),`\n`,_jsx(_components.p,{children:`As API keys podem ter um ou mais scopes:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scope`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`read`})}),_jsx(_components.td,{children:`Ler dados (projetos, prompts, métricas, concorrentes, fontes)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`write`})}),_jsx(_components.td,{children:`Modificar dados (criar prompts, atualizar tags, gerir projetos)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`export`})}),_jsx(_components.td,{children:`Exportar dados de rastreamento em bloco`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`restrições-de-projeto`,children:`Restrições de projeto`}),`\n`,_jsx(_components.p,{children:`Opcionalmente, pode restringir uma key a projetos específicos. Uma key sem restrições de projeto tem acesso a todos os projetos da sua conta.`}),`\n`,_jsx(Heading,{level:`2`,id:`segurança-da-key`,children:`Segurança da key`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Nunca exponha API keys em código do lado do cliente ou em repositórios públicos.`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`As keys são cifradas com SHA-256 antes de serem armazenadas — nunca guardamos texto simples`}),`\n`,_jsx(_components.li,{children:`Rode as keys regularmente e revogue imediatamente keys comprometidas`}),`\n`,_jsx(_components.li,{children:`Use keys de teste no desenvolvimento e keys live em produção`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Autenticação da API e chaves de API","sidebarTitle":"Autenticação","description":"Como autenticar na API da Finseo utilizando API keys.","href":"/pt/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Autenticação","slug":"autenticação","depth":1,"children":[]},{"title":"Obter a sua API key","slug":"obter-a-sua-api-key","depth":2,"children":[]},{"title":"Usar a sua key","slug":"usar-a-sua-key","depth":2,"children":[]},{"title":"Verificar uma chave","slug":"verificar-uma-chave","depth":2,"children":[]},{"title":"Scopes","slug":"scopes","depth":2,"children":[]},{"title":"Restrições de projeto","slug":"restrições-de-projeto","depth":2,"children":[]},{"title":"Segurança da key","slug":"segurança-da-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"finseoai","siteName":"Finseo","title":"Autenticação da API e chaves de API - Finseo","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/authentication","matchLevel":1},"de":{"href":"/de/authentication","matchLevel":1},"fr":{"href":"/fr/authentication","matchLevel":1},"it":{"href":"/it/authentication","matchLevel":1},"es":{"href":"/es/authentication","matchLevel":1},"pt":{"href":"/pt/authentication","matchLevel":0}}},"lastModified":"2026-11-24T12:25:50.934Z","originalFileLocation":"pt/authentication.mdx","locale":"pt"},"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=\"Como autenticar na API da Finseo utilizando API keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Finseo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_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/finseoai/Uox42APhxE9wQLes/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Autenticação da API e chaves de API - Finseo\">\u003cmeta data-mint-head property=\"og:description\" content=\"Como autenticar na API da Finseo utilizando API keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Finseo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.finseo.ai/pt/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://finseoai.mintlify.site/_mintlify/api/og/v2?division=Vis%C3%A3o+geral\u0026amp;title=Autentica%C3%A7%C3%A3o+da+API+e+chaves+de+API\u0026amp;description=Como+autenticar+na+API+da+Finseo+utilizando+API+keys.\u0026amp;theme=4d0342c054ed96d65d0c30ed\u0026amp;signature=2d4ebb4fe3b7f0c8aa87b1c9cf9d08ade445e063343528c7bc46875298152936\">\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=\"Autenticação da API e chaves de API - Finseo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Como autenticar na API da Finseo utilizando API keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://finseoai.mintlify.site/_mintlify/api/og/v2?division=Vis%C3%A3o+geral\u0026amp;title=Autentica%C3%A7%C3%A3o+da+API+e+chaves+de+API\u0026amp;description=Como+autenticar+na+API+da+Finseo+utilizando+API+keys.\u0026amp;theme=4d0342c054ed96d65d0c30ed\u0026amp;signature=2d4ebb4fe3b7f0c8aa87b1c9cf9d08ade445e063343528c7bc46875298152936\">\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/finseoai/Uox42APhxE9wQLes/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Finseo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1C1C1C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.finseo.ai/pt/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/authentication.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.finseo.ai/pt/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.finseo.ai/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.finseo.ai/de/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.finseo.ai/fr/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.finseo.ai/it/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.finseo.ai/es/authentication\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.finseo.ai/authentication\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.finseo.ai/#organization\",\"name\":\"Finseo\",\"url\":\"https://docs.finseo.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/finseoai/ab83wZXscDxQRn9M/logo/light.svg?fit=max\u0026auto=format\u0026n=ab83wZXscDxQRn9M\u0026q=85\u0026s=b38004b8894389a616ae66bbb93c646e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.finseo.ai#website\",\"name\":\"Finseo\",\"url\":\"https://docs.finseo.ai\",\"publisher\":{\"@id\":\"https://docs.finseo.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.finseo.ai/pt/authentication#webpage\",\"url\":\"https://docs.finseo.ai/pt/authentication\",\"name\":\"Autenticação da API e chaves de API\",\"description\":\"Como autenticar na API da Finseo utilizando API keys.\",\"dateModified\":\"2026-11-24T12:25:50.934Z\",\"isPartOf\":{\"@id\":\"https://docs.finseo.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.finseo.ai/pt/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.finseo.ai/pt/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Visão geral\",\"item\":\"https://docs.finseo.ai/pt\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Autenticação da API e chaves de API\",\"item\":\"https://docs.finseo.ai/pt/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.finseo.ai/pt/authentication#article\",\"headline\":\"Autenticação da API e chaves de API\",\"name\":\"Autenticação da API e chaves de API\",\"description\":\"Como autenticar na API da Finseo utilizando API keys.\",\"url\":\"https://docs.finseo.ai/pt/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.finseo.ai/pt/authentication#webpage\"},\"dateModified\":\"2026-11-24T12:25:50.934Z\",\"publisher\":{\"@id\":\"https://docs.finseo.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.finseo.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Finseo\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Finseo\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt/authentication.md","siteName":"Finseo","nav":{"global":null,"languages":[{"language":"en","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.finseo.ai/developer"}},"pages":[{"title":"en","href":"/authentication"}]},{"language":"de","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"API-Key holen","href":"https://app.finseo.ai/developer"}},"pages":[{"title":"de","href":"/de/authentication"}]},{"language":"fr","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obtenir une clé API","href":"https://app.finseo.ai/developer"}},"pages":[{"title":"fr","href":"/fr/authentication"}]},{"language":"it","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Ottieni una chiave API","href":"https://app.finseo.ai/developer"}},"pages":[{"title":"it","href":"/it/authentication"}]},{"language":"es","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obtener clave API","href":"https://app.finseo.ai/developer"}},"pages":[{"title":"es","href":"/es/authentication"}]},{"language":"pt","navbar":{"links":[{"href":"https://app.finseo.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Obter chave de API","href":"https://app.finseo.ai/developer"}},"tabs":[{"tab":"Docs","groups":[{"group":"Visão geral","pages":[{"title":"Introdução","description":"A API da Finseo oferece acesso programático aos dados de rastreamento da sua visibilidade em IA.","href":"/pt"},{"title":"Autenticação da API e chaves de API","sidebarTitle":"Autenticação","href":"/pt/authentication"},{"title":"Limites de taxa da API Finseo","sidebarTitle":"Rate Limits","description":"Limites de pedidos da API por plano de preços.","href":"/pt/rate-limits"},{"title":"Changelog","href":"/pt/changelog"}]},{"group":"Primeiros passos","pages":[{"title":"Configurar o rastreamento de prompts","sidebarTitle":"Tracking de prompts","href":"/pt/getting-started/prompts"},{"title":"Escolher modelos de IA para rastrear","sidebarTitle":"Modelos de IA","href":"/pt/getting-started/models"},{"title":"KPIs e métricas explicados — Medição de visibilidade em IA","sidebarTitle":"KPIs e métricas","href":"/pt/getting-started/kpis"}]},{"group":"Analytics","pages":[{"title":"Rastrear crawlers de IA com Bot Analytics","sidebarTitle":"Bot Analytics","href":"/pt/bot-analytics"},{"title":"Medir o tráfego humano da busca com IA","sidebarTitle":"Human Traffic","href":"/pt/human-traffic"},{"title":"Configurar AI Search Attribution: formulários, CRMs e pedidos","sidebarTitle":"Atribuição","href":"/pt/attribution"}]}]},{"tab":"Integrações","pages":[{"title":"Integrações","href":"/pt/integrations"}]},{"tab":"API","pages":[{"title":"API","href":"/pt/api-reference/guides/automate-pitch"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/pt/mcp/overview"}]}]}]},"basePath":"","title":"Autenticação da API e chaves de API - Finseo","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}