{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SocialSell API","colors":{"primary":"#286bfe","light":"#5b93ff","dark":"#1a52d4"},"logo":{"light":"https://mintcdn.com/socialsell/d13wqbYELTipL_-j/logo/light.png?fit=max\u0026auto=format\u0026n=d13wqbYELTipL_-j\u0026q=85\u0026s=3d79411c7a7384c60decd006dc1b417e","dark":"https://mintcdn.com/socialsell/d13wqbYELTipL_-j/logo/dark.png?fit=max\u0026auto=format\u0026n=d13wqbYELTipL_-j\u0026q=85\u0026s=cba2d9951f201be25bad29945c18645d"},"favicon":"https://mintcdn.com/socialsell/d13wqbYELTipL_-j/favicon.svg?fit=max\u0026auto=format\u0026n=d13wqbYELTipL_-j\u0026q=85\u0026s=7b2a0748b561997725127cbb872b839b","navbar":{"links":[{"href":"https://wa.me/5514959762223","label":"Suporte"}],"primary":{"type":"button","label":"Acessar Painel","href":"https://socialsell.ai/login"}},"footer":{"socials":{"instagram":"https://instagram.com/socialsell.ai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"App","icon":"arrow-up-right-from-square","href":"https://socialsell.ai/login"},{"anchor":"Status","icon":"signal","href":"https://status.socialsell.ai"},{"anchor":"Suporte","icon":"whatsapp","href":"https://wa.me/5514959762223"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"socialsell","hasAudioNarration":false,"actualSubdomain":"socialsell","customDomains":["docs.socialsell.ai"],"gitSource":{"type":"github","owner":"guimilreu","repo":"mintlify-docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":"","_id":"6b10e7739ffae5051c413db8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b100cca48655a78602c4a07","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Referência da API","count":80},{"language":"default","tag":"Agentes de IA","count":14},{"language":"default","tag":"Comece aqui","count":14},{"language":"default","tag":"Disparos","count":14},{"language":"default","tag":"Webhooks","count":13},{"language":"default","tag":"Negócios","count":11},{"language":"default","tag":"Gerenciar assinaturas","count":9},{"language":"default","tag":"Fundamentos","count":7},{"language":"default","tag":"Contatos","count":7},{"language":"default","tag":"Empresas","count":6}]},"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"Autenticação","description":"Como autenticar suas requisições à API SocialSell com API Keys.","href":"/api-reference/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Como autenticar suas requisições à API SocialSell com 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,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`visão-geral`,children:`Visão geral`}),`\n`,_jsxs(_components.p,{children:[`A API SocialSell usa `,_jsx(_components.strong,{children:`API Keys`}),` para autenticação. Cada chave é vinculada a uma organização e possui escopos de permissão específicos.`]}),`\n`,_jsx(Heading,{level:`2`,id:`gerando-uma-api-key`,children:`Gerando uma API Key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Acesse `,_jsx(_components.strong,{children:`Configurações → Desenvolvedores`}),` no painel do SocialSell`]}),`\n`,_jsxs(_components.li,{children:[`Clique em `,_jsx(_components.strong,{children:`Nova chave de API`})]}),`\n`,_jsxs(_components.li,{children:[`Dê um nome descritivo (ex: `,_jsx(_components.code,{children:`Integração ERP`}),`, `,_jsx(_components.code,{children:`Zapier`}),`)`]}),`\n`,_jsx(_components.li,{children:`Selecione os escopos necessários`}),`\n`,_jsx(_components.li,{children:`Copie e armazene a chave com segurança — ela só é exibida uma vez`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`A chave começa com `,_jsx(_components.code,{children:`sk_live_`}),` e nunca mais é exibida após a criação. Armazene-a em um local seguro (ex: variável de ambiente, cofre de segredos).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`enviando-a-chave`,children:`Enviando a chave`}),`\n`,_jsxs(_components.p,{children:[`Inclua a API Key em todas as requisições no header `,_jsx(_components.code,{children:`Authorization`}),`:`]}),`\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:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sk_live_sua_chave_aqui`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`exemplo-completo`,children:`Exemplo completo`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.socialsell.ai/v1/contacts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer sk_live_abc123xyz\"`}),_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:` \"Content-Type: application/json\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`erros-de-autenticação`,children:`Erros de autenticação`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Código HTTP`}),_jsx(_components.th,{children:`Código de erro`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`MISSING_API_KEY`})}),_jsxs(_components.td,{children:[`Header `,_jsx(_components.code,{children:`Authorization`}),` ausente`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_API_KEY_FORMAT`})}),_jsxs(_components.td,{children:[`Chave não começa com `,_jsx(_components.code,{children:`sk_live_`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_API_KEY`})}),_jsx(_components.td,{children:`Chave inválida, expirada ou revogada`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INSUFFICIENT_SCOPES`})}),_jsxs(_components.td,{children:[`A chave não tem o escopo necessário. O corpo traz `,_jsx(_components.code,{children:`required_scopes`}),`, `,_jsx(_components.code,{children:`missing_scopes`}),` e `,_jsx(_components.code,{children:`your_scopes`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PLAN_RESTRICTION`})}),_jsxs(_components.td,{children:[`Recurso não disponível no plano atual. O corpo traz `,_jsx(_components.code,{children:`required_plan`}),` e `,_jsx(_components.code,{children:`current_plan`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`exemplo-de-erro`,children:`Exemplo de erro`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` \"error\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unauthorized\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"API key inválida, expirada ou revogada.\"`}),_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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INVALID_API_KEY\"`})]}),`\n`,_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:` \"meta\"`}),_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:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req_a1b2c3d4e5f6a7b8\"`})]}),`\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`,_jsx(Heading,{level:`2`,id:`boas-práticas`,children:`Boas práticas`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nunca exponha a chave no frontend`}),` — use sempre do lado servidor`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use uma chave por integração`}),` — facilita revogar acessos específicos`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Defina apenas os escopos necessários`}),` — princípio do menor privilégio`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rotacione chaves periodicamente`}),` — especialmente após mudanças de equipe`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Monitore o uso`}),` — logs de uso estão disponíveis no painel em `,_jsx(_components.strong,{children:`Developers`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`escopos-disponíveis`,children:`Escopos disponíveis`}),`\n`,_jsxs(_components.p,{children:[`Veja a referência completa de escopos em `,_jsx(_components.a,{href:`/api-reference/scopes`,children:`Escopos de permissão`}),`.`]})]})}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":"Autenticação","description":"Como autenticar suas requisições à API SocialSell com API Keys.","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Visão geral","slug":"visão-geral","depth":2,"children":[]},{"title":"Gerando uma API Key","slug":"gerando-uma-api-key","depth":2,"children":[]},{"title":"Enviando a chave","slug":"enviando-a-chave","depth":2,"children":[{"title":"Exemplo completo","slug":"exemplo-completo","depth":3,"children":[]}]},{"title":"Erros de autenticação","slug":"erros-de-autenticação","depth":2,"children":[{"title":"Exemplo de erro","slug":"exemplo-de-erro","depth":3,"children":[]}]},{"title":"Boas práticas","slug":"boas-práticas","depth":2,"children":[]},{"title":"Escopos disponíveis","slug":"escopos-disponíveis","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"socialsell","siteName":"SocialSell API","title":"Autenticação - SocialSell API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T12:19:26.478Z","originalFileLocation":"api-reference/authentication.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Como autenticar suas requisições à API SocialSell com API Keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SocialSell API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_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/socialsell/LXHDMo4tLB5q63Bg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Autenticação - SocialSell API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Como autenticar suas requisições à API SocialSell com API Keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SocialSell API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.socialsell.ai/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://socialsell.mintlify.site/_mintlify/api/og/v2?division=Fundamentos\u0026amp;title=Autentica%C3%A7%C3%A3o\u0026amp;description=Como+autenticar+suas+requisi%C3%A7%C3%B5es+%C3%A0+API+SocialSell+com+API+Keys.\u0026amp;theme=e62b503620d2f4a3ca889b24\u0026amp;signature=e2d7aa3edb1fb1efd778d4c50335ad1b499fbdbebeec6538f0c86f5b2e3a13bb\">\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 - SocialSell API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Como autenticar suas requisições à API SocialSell com API Keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://socialsell.mintlify.site/_mintlify/api/og/v2?division=Fundamentos\u0026amp;title=Autentica%C3%A7%C3%A3o\u0026amp;description=Como+autenticar+suas+requisi%C3%A7%C3%B5es+%C3%A0+API+SocialSell+com+API+Keys.\u0026amp;theme=e62b503620d2f4a3ca889b24\u0026amp;signature=e2d7aa3edb1fb1efd778d4c50335ad1b499fbdbebeec6538f0c86f5b2e3a13bb\">\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/socialsell/LXHDMo4tLB5q63Bg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SocialSell API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#286bfe\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.socialsell.ai/api-reference/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.socialsell.ai/#organization\",\"name\":\"SocialSell API\",\"url\":\"https://docs.socialsell.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/socialsell/d13wqbYELTipL_-j/logo/light.png?fit=max\u0026auto=format\u0026n=d13wqbYELTipL_-j\u0026q=85\u0026s=3d79411c7a7384c60decd006dc1b417e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.socialsell.ai#website\",\"name\":\"SocialSell API\",\"url\":\"https://docs.socialsell.ai\",\"publisher\":{\"@id\":\"https://docs.socialsell.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.socialsell.ai/api-reference/authentication#webpage\",\"url\":\"https://docs.socialsell.ai/api-reference/authentication\",\"name\":\"Autenticação\",\"description\":\"Como autenticar suas requisições à API SocialSell com API Keys.\",\"dateModified\":\"2026-12-02T12:19:26.478Z\",\"isPartOf\":{\"@id\":\"https://docs.socialsell.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.socialsell.ai/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.socialsell.ai/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SocialSell API\",\"item\":\"https://docs.socialsell.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Autenticação\",\"item\":\"https://docs.socialsell.ai/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.socialsell.ai/api-reference/authentication#article\",\"headline\":\"Autenticação\",\"name\":\"Autenticação\",\"description\":\"Como autenticar suas requisições à API SocialSell com API Keys.\",\"url\":\"https://docs.socialsell.ai/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.socialsell.ai/api-reference/authentication#webpage\"},\"dateModified\":\"2026-12-02T12:19:26.478Z\",\"publisher\":{\"@id\":\"https://docs.socialsell.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.socialsell.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SocialSell API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SocialSell API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/authentication.md","siteName":"SocialSell API","nav":{"global":{"anchors":[{"anchor":"App","icon":"arrow-up-right-from-square","href":"https://socialsell.ai/login"},{"anchor":"Status","icon":"signal","href":"https://status.socialsell.ai"},{"anchor":"Suporte","icon":"whatsapp","href":"https://wa.me/5514959762223"}]},"tabs":[{"tab":"Comece aqui","groups":[{"group":"Introdução","pages":[{"title":"Bem-vindo à API SocialSell","href":""},{"title":"Início Rápido","description":"Faça sua primeira requisição à API SocialSell em menos de 5 minutos.","href":"/api-reference/quickstart"}]},{"group":"Fundamentos","pages":[{"title":"Autenticação","href":"/api-reference/authentication"},{"title":"Permissões","description":"Referência completa de todos os escopos disponíveis para API Keys.","href":"/api-reference/scopes"},{"title":"Erros","href":"/api-reference/errors"},{"title":"Paginação","href":"/api-reference/pagination"},{"title":"Idempotência","href":"/api-reference/idempotency"},{"title":"Limites de requisição","href":"/api-reference/rate-limits"},{"title":"Limites e cotas","href":"/api-reference/limits"}]},{"group":"Guias","pages":[{"title":"Sincronizar contatos com um sistema externo","href":"/api-reference/guias/sincronizar-contatos"},{"title":"Disparar uma campanha ponta a ponta","href":"/api-reference/guias/disparo-ponta-a-ponta"},{"title":"Espelhar o inbox em um sistema externo","href":"/api-reference/guias/espelhar-inbox"}]},{"group":"Plataforma","pages":[{"title":"Versionamento","href":"/api-reference/versioning"},{"title":"Changelog","href":"/api-reference/changelog"}]}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks/introduction"}]},{"tab":"Referência da API","pages":[{"title":"Referência da API","href":"/api-reference/contacts/list"}]}]},"basePath":"","title":"Autenticação - SocialSell API","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}