API keys are scoped to an organization and grant access to all projects within it.
Keep your API key secret. Never expose it in client-side code or public repositories.
JWT Token
For client-facing integrations, generate a short-lived JWT token scoped to a specific thread:
curl -X POST https://api.puppeteerai.com/threads/THREAD_ID/token \ -H "Authorization: YOUR_API_KEY"
{ "access_token": "eyJhbGciOiJIUzI1..."}
Use the returned token in place of your API key for subsequent requests on that thread. JWT tokens are ideal for chat widgets and end-user-facing applications where you don’t want to expose your API key.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Puppeteer AI","colors":{"primary":"#712F4A","light":"#9B4D6A","dark":"#5A2139"},"logo":{"light":"https://mintcdn.com/puppeteerai/8eVsikvoY69Q7wgk/logo/light.svg?fit=max\u0026auto=format\u0026n=8eVsikvoY69Q7wgk\u0026q=85\u0026s=24864ca803cf0c697118c60dd87b5a39","dark":"https://mintcdn.com/puppeteerai/8eVsikvoY69Q7wgk/logo/dark.svg?fit=max\u0026auto=format\u0026n=8eVsikvoY69Q7wgk\u0026q=85\u0026s=9ca4604cf6ae61cee9963affed9fafc9"},"favicon":"https://mintcdn.com/puppeteerai/8eVsikvoY69Q7wgk/favicon.svg?fit=max\u0026auto=format\u0026n=8eVsikvoY69Q7wgk\u0026q=85\u0026s=30954717c2e5d41469a221d21268c677","navbar":{"links":[{"href":"mailto:support@puppeteerai.com","label":"Support"}]},"footer":{"socials":{"github":"https://github.com/Puppeteer-ai"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"puppeteerai","hasAudioNarration":false,"actualSubdomain":"puppeteerai","customDomains":["docs.puppeteerai.com"],"gitSource":{"type":"github","owner":"puppeteer-ai","repo":"puppeteer-mono","deployBranch":"main","contentDirectory":"core/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6acdea84c868d3ab436d4898","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"API Reference","count":16},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Voice","count":4},{"language":"default","tag":"Overview","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Web UI","count":3},{"language":"default","tag":"Messages","count":3},{"language":"default","tag":"Threads","count":3},{"language":"default","tag":"Calls","count":2},{"language":"default","tag":"Auth","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"custom-rbac-roles","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":"workos-onboarding","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":"assistant-v5","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":"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":"turbopuffer-dual-write","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},{"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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/authentication","slug":"/api-reference/authentication","pageMetadata":{"title":"Authentication","description":"How to authenticate with the Puppeteer API","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: \"How to authenticate with the Puppeteer API\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Puppeteer API uses two authentication methods depending on the context:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Keys`}),` for server-to-server calls (organization-scoped)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`JWT Tokens`}),` for client-side and thread-scoped access`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-key`,children:`API Key`}),`\n`,_jsxs(_components.p,{children:[`Pass your API key in the `,_jsx(_components.code,{children:`Authorization`}),` header:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.puppeteerai.com/threads`}),_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: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`API keys are scoped to an organization and grant access to all projects within it.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Keep your API key secret. Never expose it in client-side code or public repositories.`})}),`\n`,_jsx(Heading,{level:`2`,id:`jwt-token`,children:`JWT Token`}),`\n`,_jsx(_components.p,{children:`For client-facing integrations, generate a short-lived JWT token scoped to a specific thread:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.puppeteerai.com/threads/THREAD_ID/token`}),_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: YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,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:` \"access_token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJhbGciOiJIUzI1...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use the returned token in place of your API key for subsequent requests on that thread. JWT tokens are ideal for chat widgets and end-user-facing applications where you don’t want to expose your API key.`})]})}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":"How to authenticate with the Puppeteer API","href":"/api-reference/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"API Key","slug":"api-key","depth":2,"children":[]},{"title":"JWT Token","slug":"jwt-token","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"puppeteerai","siteName":"Puppeteer AI","title":"Authentication - Puppeteer AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-18T12:05:36.613Z","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=\"How to authenticate with the Puppeteer API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Puppeteer AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_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/puppeteerai/GXC2Zy3x92hLCyAN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Puppeteer AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to authenticate with the Puppeteer API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Puppeteer AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.puppeteerai.com/api-reference/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://puppeteerai.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+with+the+Puppeteer+API\u0026amp;theme=6d15082b1cdf7d96e69452f4\u0026amp;signature=fec2c674ade8c5be9315b05336628dbaef08314f287189a8274c63f966888538\">\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 - Puppeteer AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to authenticate with the Puppeteer API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://puppeteerai.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+to+authenticate+with+the+Puppeteer+API\u0026amp;theme=6d15082b1cdf7d96e69452f4\u0026amp;signature=fec2c674ade8c5be9315b05336628dbaef08314f287189a8274c63f966888538\">\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/puppeteerai/GXC2Zy3x92hLCyAN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Puppeteer AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#712F4A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.puppeteerai.com/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.puppeteerai.com/#organization\",\"name\":\"Puppeteer AI\",\"url\":\"https://docs.puppeteerai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/puppeteerai/8eVsikvoY69Q7wgk/logo/light.svg?fit=max\u0026auto=format\u0026n=8eVsikvoY69Q7wgk\u0026q=85\u0026s=24864ca803cf0c697118c60dd87b5a39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.puppeteerai.com#website\",\"name\":\"Puppeteer AI\",\"url\":\"https://docs.puppeteerai.com\",\"publisher\":{\"@id\":\"https://docs.puppeteerai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.puppeteerai.com/api-reference/authentication#webpage\",\"url\":\"https://docs.puppeteerai.com/api-reference/authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate with the Puppeteer API\",\"dateModified\":\"2026-02-18T12:05:36.613Z\",\"isPartOf\":{\"@id\":\"https://docs.puppeteerai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.puppeteerai.com/api-reference/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.puppeteerai.com/api-reference/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.puppeteerai.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.puppeteerai.com/api-reference/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.puppeteerai.com/api-reference/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to authenticate with the Puppeteer API\",\"url\":\"https://docs.puppeteerai.com/api-reference/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.puppeteerai.com/api-reference/authentication#webpage\"},\"dateModified\":\"2026-02-18T12:05:36.613Z\",\"publisher\":{\"@id\":\"https://docs.puppeteerai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.puppeteerai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Puppeteer AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Puppeteer AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/authentication.md","siteName":"Puppeteer AI","nav":{"global":{},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","description":"Overview of the Puppeteer API","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"WebSocket","description":"Real-time streaming communication with your agent","href":"/api-reference/websocket"}]},{"group":"Auth","pages":[{"title":"Create Token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /threads/{thread_id}/token","href":"/api-reference/auth/create-token"}]},{"group":"Messages","pages":[{"title":"Chat","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /chat","href":"/api-reference/messages/chat"},{"title":"Get Messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /threads/{thread_id}/messages","href":"/api-reference/messages/get-messages"},{"title":"Search Messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /threads/{thread_id}/messages/search","href":"/api-reference/messages/search-messages"}]},{"group":"Threads","pages":[{"title":"Create Thread","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /threads","href":"/api-reference/threads/create-thread"},{"title":"Send Json Input","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /threads/{thread_id}/json-input","href":"/api-reference/threads/send-json-input"},{"title":"Get Thread","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /threads/{thread_id}","href":"/api-reference/threads/get-thread"}]},{"group":"Calls","pages":[{"title":"List Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls","href":"/api-reference/calls/list-calls"},{"title":"Get Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{call_id}","href":"/api-reference/calls/get-call"}]},{"group":"Voice","pages":[{"title":"Create Phone Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voice/phone-call","href":"/api-reference/voice/create-phone-call"},{"title":"Create Phone Call In Thread","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voice/{thread_id}/phone-call","href":"/api-reference/voice/create-phone-call-in-thread"},{"title":"End Phone Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /voice/{thread_id}/phone-call","href":"/api-reference/voice/end-phone-call"},{"title":"Create Web Call In Thread","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voice/{thread_id}/web-call","href":"/api-reference/voice/create-web-call-in-thread"}]}]}]},"basePath":"","title":"Authentication - Puppeteer AI","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}