An API key now grants access to your company’s billing data. Any holder of the key can read your current credit balance, your consumption breakdown, your subscription contract (plan, status, active features and effective limits), and your credit ledger history.
Billing endpoints are authenticated with the sameX-Api-Key header as every other endpoint. There is no separate credential and no second scope for billing: whoever can call GET /Campaign can also call GET /Consumption, GET /Consumption/breakdown, GET /Subscription and GET /Consumption/transactions.If you distributed an API key before billing was placed behind it — for example to an integration partner, a script, or a third-party service — that key now exposes financial information it did not expose at the time you shared it. We recommend you audit and review where your keys are used, and rotate any key whose exposure is broader than you are comfortable with.
No pricing details (rates, discounts, Stripe identifiers) are ever exposed through the API. What a key can read is your consumption, your remaining balance, and the terms of your contract — see the Track Consumption guide.
You’re all set! Head over to the API Reference to explore the available endpoints.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Starleads api docs","colors":{"primary":"#FF5B22","light":"#fe8c74","dark":"#FF5B22"},"favicon":"https://mintcdn.com/locuta/tZlUd6iyAfQwa0YL/logo/favicon.svg?fit=max\u0026auto=format\u0026n=tZlUd6iyAfQwa0YL\u0026q=85\u0026s=967e53c47421a4ed3c5adccac9a32e37","logo":{"light":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61","dark":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=b9a5ae7998f0db400ea8722f90609ed5"},"api":{"openapi":"api-reference/openapi.json","mdx":{"server":"https://api.starleads.co","auth":{"method":"key","name":"X-Api-Key"}}},"navbar":{"primary":{"type":"button","label":"Log in","href":"https://app.starleads.co"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/starleads-co","website":"https://starleads.co"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"locuta","hasAudioNarration":false,"actualSubdomain":"locuta","customDomains":["docs.starleads.co"],"gitSource":{"type":"github","owner":"locuta","repo":"starleads-public-gateway","deployBranch":"mintifly","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43","collectionId":"4cf50806-03bb-46b2-9027-a2d8bbba048f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43"},"entitlements":{},"buildId":"6ab11ae5ebb61b9bf7312a43","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Agent Tests","count":8},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Campaign Items","count":7},{"language":"default","tag":"Knowledge Base — Documents","count":7},{"language":"default","tag":"Agent Test Folders","count":5},{"language":"default","tag":"Knowledge Base — Datasets","count":5},{"language":"default","tag":"Knowledge Base — Chats","count":5},{"language":"default","tag":"Knowledge Base — Knowledge Graph","count":5}]},"assistantConfig":{},"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"documentation/authentification","slug":"/documentation/authentification","pageMetadata":{"title":"Authentication","description":"Learn how to authenticate your API requests using your API key.","href":"/documentation/authentification"},"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: \"Learn how to authenticate your API requests using your API key.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,Note,OptimizedImage,Step,Steps,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`All requests to the Starleads API must include a valid API key in the `,_jsx(_components.code,{children:`X-Api-Key`}),` header.`]}),`\n`,_jsxs(Warning,{children:[`API keys are `,_jsx(_components.strong,{children:`secrets`}),` shared only between you and Starleads. Never expose them in client-side code, public repositories, or share them with anyone.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-your-api-key`,children:`Get your API key`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Log in to Starleads`,icon:`right-to-bracket`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.a,{href:`https://app.starleads.co`,children:`app.starleads.co`}),` and sign in to your account.`]})}),_jsxs(Step,{title:`Open API Access`,icon:`key`,children:[_jsxs(_components.p,{children:[`In the sidebar, navigate to `,_jsx(_components.strong,{children:`Configuration → API Access`}),`.`]}),_jsx(Frame,{caption:`Navigate to Configuration → API Access in the sidebar.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=b57f8b898a147d3ca76f8c4dd7f7f826`,alt:`API Access menu`,\"data-og-width\":`428`,width:`428`,\"data-og-height\":`1550`,height:`1550`,\"data-path\":`images/api-menu-option-screenshot.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=280\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=5f49ab5786d01bee2bc110df24ac3e7c 280w, https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=560\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=b7ee434f88e78791e7c7968c596304c1 560w, https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=840\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=a694f4489c800c647805e4cdb2efdecf 840w, https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=c5f74bb87b20707f83be558707c640c9 1100w, https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=5c565ce877243c924dabfa7ba4420d79 1650w, https://mintcdn.com/locuta/BvpOAfEagpoQQjYS/images/api-menu-option-screenshot.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BvpOAfEagpoQQjYS\u0026q=85\u0026s=a9231c8fed15ec187b2d801fb7515c39 2500w`})})]}),_jsx(Step,{title:`Copy your API key`,icon:`copy`,children:_jsx(_components.p,{children:`Copy the API key displayed on the page. You’ll need it for every request.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`using-your-api-key`,children:`Using your API key`}),`\n`,_jsxs(_components.p,{children:[`Include the `,_jsx(_components.code,{children:`X-Api-Key`}),` header in every request:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.starleads.co/Campaign`}),_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:` \"X-Api-Key: YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`6`,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:`6`,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:`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.starleads.co/Campaign\"`}),_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:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Api-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"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`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,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.starleads.co/Campaign\"`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Api-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"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:`what-an-api-key-grants-access-to`,children:`What an API key grants access to`}),`\n`,_jsxs(Warning,{children:[`An API key now grants access to your company’s `,_jsx(_components.strong,{children:`billing data`}),`. Any holder of the key can read your current credit balance, your consumption breakdown, your subscription contract (plan, status, active features and effective limits), and your credit ledger history.`]}),`\n`,_jsxs(_components.p,{children:[`Billing endpoints are authenticated with the `,_jsx(_components.strong,{children:`same`}),` `,_jsx(_components.code,{children:`X-Api-Key`}),` header as every other endpoint. There is no separate credential and no second scope for billing: whoever can call `,_jsx(_components.code,{children:`GET /Campaign`}),` can also call `,_jsx(_components.code,{children:`GET /Consumption`}),`, `,_jsx(_components.code,{children:`GET /Consumption/breakdown`}),`, `,_jsx(_components.code,{children:`GET /Subscription`}),` and `,_jsx(_components.code,{children:`GET /Consumption/transactions`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`If you distributed an API key `,_jsx(_components.strong,{children:`before`}),` billing was placed behind it — for example to an integration partner, a script, or a third-party service — that key now exposes financial information it did not expose at the time you shared it. We recommend you `,_jsx(_components.strong,{children:`audit and review where your keys are used`}),`, and rotate any key whose exposure is broader than you are comfortable with.`]}),`\n`,_jsxs(Note,{children:[`No pricing details (rates, discounts, Stripe identifiers) are ever exposed through the API. What a key can read is your consumption, your remaining balance, and the terms of your contract — see the `,_jsx(_components.a,{href:`/documentation/track-consumption`,children:`Track Consumption guide`}),`.`]}),`\n`,_jsxs(Tip,{children:[`You’re all set! Head over to the `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`API Reference`}),` to explore the available endpoints.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"Learn how to authenticate your API requests using your API key.","href":"/documentation/authentification"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Get your API key","slug":"get-your-api-key","depth":2,"children":[]},{"title":"Using your API key","slug":"using-your-api-key","depth":2,"children":[]},{"title":"What an API key grants access to","slug":"what-an-api-key-grants-access-to","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"locuta","siteName":"Starleads api docs","title":"Authentication - Starleads api docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-29T13:22:54.928Z","originalFileLocation":"documentation/authentification.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=\"Learn how to authenticate your API requests using your API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Starleads api docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Starleads api docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to authenticate your API requests using your API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Starleads api docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.starleads.co/documentation/authentification\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Authentication\u0026amp;description=Learn+how+to+authenticate+your+API+requests+using+your+API+key.\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=8df9fbdd1d70f623eb5b2f4d15d3b787556843409acab9801491b3b544c54eac\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - Starleads api docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to authenticate your API requests using your API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Authentication\u0026amp;description=Learn+how+to+authenticate+your+API+requests+using+your+API+key.\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=8df9fbdd1d70f623eb5b2f4d15d3b787556843409acab9801491b3b544c54eac\">\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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Starleads api docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5B22\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.starleads.co/documentation/authentification\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/authentification.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.starleads.co/#organization\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.starleads.co#website\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.starleads.co/documentation/authentification#webpage\",\"url\":\"https://docs.starleads.co/documentation/authentification\",\"name\":\"Authentication\",\"description\":\"Learn how to authenticate your API requests using your API key.\",\"dateModified\":\"2026-08-29T13:22:54.928Z\",\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.starleads.co/documentation/authentification#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.starleads.co/documentation/authentification#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Documentation\",\"item\":\"https://docs.starleads.co/documentation/get-started\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.starleads.co/documentation/authentification\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.starleads.co/documentation/authentification#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Learn how to authenticate your API requests using your API key.\",\"url\":\"https://docs.starleads.co/documentation/authentification\",\"mainEntityOfPage\":{\"@id\":\"https://docs.starleads.co/documentation/authentification#webpage\"},\"dateModified\":\"2026-08-29T13:22:54.928Z\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Starleads api docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Starleads api docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":{"name":"book-open","style":"duotone"},"groups":[{"group":"Documentation","pages":[{"title":"Welcome to Starleads","description":"Conversational AI platform — phone, web-widget, SMS \u0026 WhatsApp. Integrate with our API to manage campaigns, prospects, and receive results in real-time.","mode":"wide","href":"/documentation/get-started"},{"title":"Authentication","href":"/documentation/authentification"},{"title":"Receive Conversation Results","description":"Get your agents' conversation results in real-time via webhooks.","href":"/documentation/receive-conversation-results"},{"title":"Knowledge Base (RAG)","href":"/documentation/rag-knowledge-base"}]}]},{"anchor":"API Reference","icon":{"name":"square-terminal","style":"duotone"},"pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"title":"Authentication - Starleads api docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CIbhtp2j.js","DynamicMarkdown-CtpgKJwj.js","zoom-image-lightbox-CVZVK4hN.js","lightbox-handle-r17bVUz3.js"]}